epp - fix buffer size for possibly bigger int snpritnfs

8 bytes wasn't enough for the full int range. use 12 and we're good.
removes warning for sure

@fix
This commit is contained in:
Carsten Haitzler 2017-08-02 18:45:44 +09:00
parent ed947fad81
commit bdadc30691
1 changed files with 1 additions and 1 deletions

View File

@ -2347,7 +2347,7 @@ special_symbol(HASHNODE * hp, cpp_reader * pfile)
if (ip->fname)
true_indepth++;
bufx = (char *)alloca(8); /* Eight bytes ought to be more than enough */
bufx = (char *)alloca(12); // 12 bytes - more than enough
sprintf(bufx, "%d", true_indepth - 1);
buf = bufx;
break;