]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - nss/gr.c
nss: gr/pw: make data const
[nsscash/nsscash.git] / nss / gr.c
index fbfd02fed3bdcdafcf1526e08d41de673a636a07..8b336f9615bb4b0c200417240fa82f76ebb87166 100644 (file)
--- a/nss/gr.c
+++ b/nss/gr.c
@@ -52,7 +52,7 @@ struct group_entry {
      * All offsets are relative to the beginning of data.
      */
     uint16_t data_size;
-    char data[];
+    const char data[];
 } __attribute__((packed));
 
 static bool entry_to_group(const struct group_entry *e, struct group *g, char *tmp, size_t space) {