Nils Larsch wrote:

Andreas Jellinghaus wrote:

Am Donnerstag, 2. März 2006 17:22 schrieb Nils Larsch:

I vote for printf("... %lu ...", (unsigned long) whatever, ...);



I googled, and the options are %lu or %zu, the first is C89-portable (could cause problems
in theory, where size_t != usigned long), the later is
POSIX and C99-portable, and thus maybe not working on
very old compilers/OS.


does %zu work on the os from redmond ?

Nope: running
    printf("%zu\n", (size_t) 1234);
gives
   zu

%lu does work fine.

Cheers,
Stef

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to