mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 13:36:12 +01:00
Merge pull request #69 from jcowgill/fix-conversion-null
Fix pointer conversion warning when compiling without NDEBUG on Linux
This commit is contained in:
commit
57d3ee0d89
1 file changed
+1
-1
@@ -317,7 +317,7 @@ void sfWindow_setJoystickThreshold(sfWindow* window, float threshold)
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
sfWindowHandle sfWindow_getSystemHandle(const sfWindow* window)
|
sfWindowHandle sfWindow_getSystemHandle(const sfWindow* window)
|
||||||
{
|
{
|
||||||
CSFML_CHECK_RETURN(window, NULL);
|
CSFML_CHECK_RETURN(window, 0);
|
||||||
|
|
||||||
return (sfWindowHandle)window->This.getSystemHandle();
|
return (sfWindowHandle)window->This.getSystemHandle();
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user