Re: [opensc-devel] [opensc-commits] svn opensc changed[5185] Revert r5137, because size_t is defined as unsigned integer type ( without further qualification).

2011-02-07 Thread Dan Lukes
On 02/07/11 13:08, Peter Stuge: > Andreas Jellinghaus wrote: >> hmm, can you >> #ifdef WIN32 >> #define %size_t %Iu >> #else >> #define %size_t %zu >> #endif > > #define PCT_SIZE_T "%lu" and "%zu" could work I guess. If you mean "define PCT_SIZE_T %lu on Windows, %zu otherwise", then I think the

Re: [opensc-devel] [opensc-commits] svn opensc changed[5185] Revert r5137, because size_t is defined as unsigned integer type ( without further qualification).

2011-02-06 Thread Dan Lukes
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 fac

[opensc-devel] OpenCT IFD interface to FreeBSD/ugen

2007-02-11 Thread Dan Lukes
roblem discussed under subject "Pertosmart 1038 reader recognition" in July. As it's related to OpenBSD, it seems the problem with blocking read with no timeout is not related to FreeBSD only. Da