Hi,

x86_64-w64-mingw32-gcc  -I. -I../../../../../../include  -Wall -W -O3
-fomit-frame-pointer  -IC:\devl\Firebird-2.1.2-x64\include
-ofbirddd.o -c ../../../fbirddd.c
../../../fbirddd.c: In function 'fbConnect':
../../../fbirddd.c:166:26: warning: initialization makes integer from
pointer without a cast

#if defined(_LP64) || defined(__LP64__) || defined(__arch64__)
typedef unsigned int    FB_API_HANDLE;
#else
typedef void*           FB_API_HANDLE;
#endif
typedef FB_API_HANDLE isc_db_handle;

What is correct way to initialize handler?

isc_db_handle  db = NULL;  // wrong on 64bits
isc_db_handle  db = 0;     // wrong on 32bits


Regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to