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.

Many thanks.


Cheers,
Norm.

-- 
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL

Company Number: 05132767

------------------------------------------------------------------------------
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

Reply via email to