Fix windows64 compilation

This commit is contained in:
SpaiR committed 2020-02-11 01:10:08 +03:00
1 parent 1ded006716
commit f05ff1e571
6 files changed
+31 -27

No files matched your search

@@ -26,6 +26,7 @@ public final class ImFontConfig implements ImDestroyable {
}
/*JNI
#include <stdint.h>
#include <imgui.h>
#include "jni_common.h"
@@ -41,7 +42,7 @@ public final class ImFontConfig implements ImDestroyable {
private native long nCreate(); /*
ImFontConfig* imFontConfig = new ImFontConfig();
return (long)imFontConfig;
return (long)(intptr_t)imFontConfig;
*/
private native void nDestroy(long ptr); /*