Use the correct format specifier for the return value of strlen().
[cparser] / vc2005 /
drwxr-xr-x   ..
-rw-r--r-- 6788 cparser.icproj
-rw-r--r-- 9059 cparser.vcproj