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:
dsandersoremutah
2006-03-31 00:00:39 +00:00
parent 4a9baa1cfd
commit 3cb3a3f048
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
{

View File

@@ -193,7 +193,7 @@ JNIEXPORT jlong JNICALL Java_xflaim_DbSystem__1dbCreate(
pEnv->ReleaseStringUTFChars( sDictBuf, pszDictBuf);
}
return( (jlong)pDb);
return( (jlong)((FLMUINT)pDb));
}
/****************************************************************************