thanks jnerula
Please enable JavaScript in your browser! Home Explore Help Sign In Register xena / workshit SSH HTTPS Copy Need help cloning? Visit Help ! ZIP TAR.GZ Watch 1 Star 0 Fork 0 Browse Source parent 39c986666f commit 84ca81cdd5 Christine Dodrill 36 seconds ago Show Diff Stats 1 changed files with 4 additions and 4 deletions 4 4 src/string_compare_guy.c + 4 - 4 View File src/string_compare_guy.c @@ -7,17 +7,17 @@ 7 7 // right hand side, length and returns 1 if the right hand side (needle) is inside the left hand 8 8 // side (haystack). 9 9 static int string_compare_guy(char* lhs, int llength, char* rhs, int rlength) { 10 - char* lnz = alloca(llength + 1); 10 + char lnz[llength + 1]; 11 11 memcpy(lnz, lhs, ...