X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmodify-vars.c;h=4911664d92870846784613a1bd9505f35e960432;hb=05e356b2a3087e819ef3b5388e29c822f41502e1;hp=aab05c6e0e029083241123c0cfa3e19e5c82cc89;hpb=205ac3afa4c2b19c85819d8695abf3975bb11807;p=pspp diff --git a/src/modify-vars.c b/src/modify-vars.c index aab05c6e0e..4911664d92 100644 --- a/src/modify-vars.c +++ b/src/modify-vars.c @@ -24,6 +24,7 @@ #include "alloc.h" #include "bitvector.h" #include "command.h" +#include "dictionary.h" #include "error.h" #include "hash.h" #include "lexer.h" @@ -357,7 +358,7 @@ compare_variables_given_ordering (const void *a_, const void *b_, struct var_renaming { struct variable *var; - char new_name[9]; + char new_name[SHORT_NAME_LEN + 1]; }; /* A algo_compare_func that compares new_name members in struct