Had to cast FLMUINT64 down to FLMUINT before casting to pointer.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@237 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -129,7 +129,7 @@ JNIEXPORT void JNICALL Java_xflaim_Db__1import(
|
||||
|
||||
jclass class_JIStream = pEnv->FindClass( "xflaim/PosIStream");
|
||||
jfieldID fid_this = pEnv->GetFieldID( class_JIStream, "m_this", "J");
|
||||
pIStream = (IF_PosIStream *)pEnv->GetLongField( jIStream, fid_this);
|
||||
pIStream = (IF_PosIStream *)((FLMUINT)pEnv->GetLongField( jIStream, fid_this));
|
||||
|
||||
if (!pIStream)
|
||||
{
|
||||
|
||||
@@ -193,7 +193,7 @@ JNIEXPORT jlong JNICALL Java_xflaim_DbSystem__1dbCreate(
|
||||
pEnv->ReleaseStringUTFChars( sDictBuf, pszDictBuf);
|
||||
}
|
||||
|
||||
return( (jlong)pDb);
|
||||
return( (jlong)((FLMUINT)pDb));
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user