Subject: Re: [libssh2] [libssh2-cvs] jehousley: libssh2/include libssh2.h, 1.76, 1.77

Re: [libssh2] [libssh2-cvs] jehousley: libssh2/include libssh2.h, 1.76, 1.77

From: Guenter Knauf <eflash_at_gmx.net>
Date: Sat, 14 Jul 2007 23:48:13 +0200

>> On current 32 bit systems, ints and longs are the same size: 32 bit.
>> 200706151200 is a value that doesn't fit in 32 bits, be it int or
>> long.
>>
>> 2^32 is 4294967296, and this APINO define is almost 47 times larger...

> You are right, it would need to be a LONG LONG, which is not fully
> portable. And the commit it libcurl might quite the preprocessor,
> but doesn't really work either then.

well, then lets shorten the define to 20070615 which should fit fine in 32 bit since we canr be sure that the previous define works at all, and therefore chances to break something are very small....

Guen.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-07-14