Unanswered: Getting seg fault when porting the proc code from 32 bit to 64 bit
I have the pro c which works pretty fine on 32 bit processor with oracle 9i. Now we have ported it on 64 bit processor. We have installed the oracle 9i 64 bit. After compiling the pro c code, the linking with the applicatoin gives the following warning
warning: cast to pointer from integer of different size
for the statement
sqlda_des = ((SQLDA *) SQLSQLDAAlloc(SQL_SINGLE_RCTX, MAX_ITEMS, MAX_VNAME_LEN, MAX_INAME_LEN) ;
The object files are 64 bit. If any one faced this probs, pls revert back.