diff --git a/src/misc/crypt/crypt_constants.c b/src/misc/crypt/crypt_constants.c index 03755b0..68e9aae 100755 --- a/src/misc/crypt/crypt_constants.c +++ b/src/misc/crypt/crypt_constants.c @@ -182,7 +182,7 @@ int crypt_get_constant(const char* namein, int *valueout) { int crypt_list_all_constants(char *names_list, unsigned int *names_list_size) { int i; unsigned int total_len = 0; - char number[32]; + char number[32], *ptr; int number_len; int count = sizeof(_crypt_constants) / sizeof(_crypt_constants[0]); @@ -205,7 +205,7 @@ int crypt_list_all_constants(char *names_list, unsigned int *names_list_size) { return -1; } /* build the names list */ - char *ptr = names_list; + ptr = names_list; for (i=0; i