Hi,
What is correct way to initialize handler?
isc_db_handle db = NULL; // wrong on 64bits
isc_db_handle db = 0; // wrong on 32bits
Probably some clever macros :) Maybe there is something
already defined in FB headers. After all they should also
need something like this.
I've tried change to
isc_db_handle db = ( isc_db_handle ) 0;
I hope it fixes warning "initialization makes integer from pointer
without a cast".
"cast to pointer from integer of different size" is more tricky. Changed
to double type cast via numeric of pointer size:
pArea->pStmt = ( void* ) ( HB_PTRDIFF ) pStmt;
Please test.
Regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour