mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
Android issue (#2247)
* change window handler to uintptr_t * fix compiling error
This commit is contained in:
@@ -57,7 +57,7 @@ namespace
|
||||
sprintf(commandBuf, "window.innerWidth = %d; window.innerHeight = %d; window.windowHandler = 0x%" PRIxPTR ";",
|
||||
g_width,
|
||||
g_height,
|
||||
(intptr_t)cocos2d::JniHelper::getAndroidApp()->window);
|
||||
(uintptr_t)cocos2d::JniHelper::getAndroidApp()->window);
|
||||
se->evalString(commandBuf);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user