strlen() returns a size_t

This commit is contained in:
Asanka Herath
2010-03-02 03:21:53 -05:00
parent 716121bc60
commit f54630328b

View File

@@ -49,7 +49,7 @@ RCSID("$Id$");
char tmp[128], tmp2[128]; \
while(x){ x <<= 1; b++; if(x < zero) pre=""; } \
if(b >= len){ \
int tabs; \
size_t tabs; \
sprintf(tmp, "%sint%d_t" , pre, len); \
sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \
tabs = 5 - strlen(tmp2) / 8; \