array tab[] and also avoid that clang warns about the formatting flag 'L'.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12114
unsigned long long ull;
struct CString *cstr;
void *ptr;
- int tab[1];
+ int tab[sizeof(long double) / sizeof(int)];
} CValue;
/* value on stack */
case TOK_CLLONG:
case TOK_CULLONG:
/* XXX: not quite exact, but only useful for testing */
- sprintf(p, "%Lu", cv->ull);
+ sprintf(p, "%llu", cv->ull);
break;
case TOK_CCHAR:
case TOK_LCHAR: