Skip to content

Commit

Permalink
total memory function minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarov-andrey committed Sep 18, 2012
1 parent 83f4566 commit 7106ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/mlwrapper_android.c
Expand Up @@ -1649,5 +1649,5 @@ value ml_totalMemory() {
if (!mid) mid = (*env)->GetStaticMethodID(env, jViewCls, "totalMemory", "()J");
jlong jtotalmem = (*env)->CallStaticLongMethod(env, jView, mid);

return Val_int(jtotalmem);
return Val_long(jtotalmem);
}

0 comments on commit 7106ef5

Please sign in to comment.