On 02/03/06, Nils Larsch <[EMAIL PROTECTED]> wrote:
> Ludovic Rousseau wrote:
> > Hello,
> >
> > In changeset 2863 [1] I changed %u in %lu because I got a compilation
> > warning. The problem is the size_t is 64 bits on a 64-bits
> > architecture but 32 bits on a 32-bits architecture.
> >
> > We could use a cast to int in the printf and use %u. I don't think we
> > will ever have a PIN length of more than 2 billion :-)
> >
> > Right now you will get a warning on a 32-bits platform until we find
> > the "best" solution.
>
> I vote for printf("... %lu ...", (unsigned long) whatever, ...);I commited with this solution Regards, -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-devel
