X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=nss%2Fgr.c;h=8b336f9615bb4b0c200417240fa82f76ebb87166;hb=c6363eab83ca507ee1a566b5b98eefad61fbe8b3;hp=fbfd02fed3bdcdafcf1526e08d41de673a636a07;hpb=8d862d90f3530d340ef2b3f50973a8abcf9edf99;p=nsscash%2Fnsscash.git diff --git a/nss/gr.c b/nss/gr.c index fbfd02f..8b336f9 100644 --- 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) {