On 02/06/11 20:23, Ludovic Rousseau:
>> Revert r5137, because size_t is defined as unsigned integer type (without
>> further qualification).
>> - printf("expecting %lu, got only %d bytes.\n", len, r);
>> + printf("expecting %u, got only %d bytes.\n", len, r);
> In fact the correct answer is %zu [1]
> But this does not work on Windows.
Then use %llu and cast len to unsigned long long
Or define a macro with system specific content, e.g. format string
suitable for printing size_t on such system and use that macro instead
of hardcoded format.
Dan
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel