[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scp.c compile warnings


Keisial a écrit :
> Jean-Philippe Garcia Ballester wrote:
>   
>>> The first one can be fixed by #include <stdio.h>, but I am not sure
>>> about a portable way to fix the second one. Maybe just cast to (long
>>> int)?
>>>     
>>>       
>>   Isn't %zd portable ?
>>     
> I don't think %zd would work on Windows.
>   
We can "fix" that with a big (unsigned long long) cast like Andreas did
for the other type issue :)

Follow-Ups:
Re: scp.c compile warningsAndreas Schneider <mail@xxxxxxxxxxxx>
References:
scp.c compile warningsVic Lee <llyzs@xxxxxxx>
Re: scp.c compile warnings"Jean-Philippe Garcia Ballester" <jeanphilippe.garciaballester@xxxxxxxxxxxx>
Re: scp.c compile warningsKeisial <keisial@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org