> Morning Vlad,
>
> On 13/05/13 07:27, Vlad Khorsun wrote:
>
>> Looks like your ULONG is 8-byte integer while it shold be 4-byte.
>
> Thanks for that, I have defined the various types as follows - stolen
> from somewhere in the Firebird source code.
>
> typedef signed char SCHAR;
> typedef unsigned char UCHAR;
> typedef signed short SSHORT;
> typedef unsigned short USHORT;
> typedef signed long SLONG;
> typedef unsigned long ULONG;
> typedef int64_t SINT64;
> typedef uint64_t UINT64;
>
> However, I think you may be completely correct. My laptop is 64 bit
> whereas the PC I was working on previously was 32 bit.
>
> I'll have a look and see what's what with 32-64 bit "stuff" in gcc and
> sort out the code.
Exact data type definitions is at "src/include/fb_types.h".
Regards,
Vlad
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel