makro »lprintf« substitution gcc warnings cleanup

pull/517/head
Ser Lev Arris 2015-03-28 14:45:21 +01:00
parent 311c1ecadb
commit 19d9b31d56
1 changed files with 3 additions and 3 deletions

View File

@ -284,7 +284,7 @@ static bool copyBuffer(JNIEnv *env, jobject jMesh, const char* jBufferName, void
if (env->GetDirectBufferCapacity(jBuffer) != size) if (env->GetDirectBufferCapacity(jBuffer) != size)
{ {
lprintf("invalid direct buffer, expected %u, got %u\n", size, env->GetDirectBufferCapacity(jBuffer)); lprintf("invalid direct buffer, expected %u, got %llu\n", size, env->GetDirectBufferCapacity(jBuffer));
return false; return false;
} }
@ -315,7 +315,7 @@ static bool copyBufferArray(JNIEnv *env, jobject jMesh, const char* jBufferName,
if (env->GetDirectBufferCapacity(jBuffer) != size) if (env->GetDirectBufferCapacity(jBuffer) != size)
{ {
lprintf("invalid direct buffer, expected %u, got %u\n", size, env->GetDirectBufferCapacity(jBuffer)); lprintf("invalid direct buffer, expected %u, got %llu\n", size, env->GetDirectBufferCapacity(jBuffer));
return false; return false;
} }
@ -839,7 +839,7 @@ static bool loadMaterials(JNIEnv *env, const aiScene* cScene, jobject& jScene)
{ {
const aiMaterial* cMaterial = cScene->mMaterials[m]; const aiMaterial* cMaterial = cScene->mMaterials[m];
lprintf("converting material ...\n", m); lprintf("converting material %d ...\n", m);
jobject jMaterial = NULL; jobject jMaterial = NULL;