Skip to content

Commit 57d3ee0

Browse files
committed
Merge pull request #69 from jcowgill/fix-conversion-null
Fix pointer conversion warning when compiling without NDEBUG on Linux
2 parents 141fbf5 + e5c4b09 commit 57d3ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SFML/Window/Window.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ void sfWindow_setJoystickThreshold(sfWindow* window, float threshold)
317317
////////////////////////////////////////////////////////////
318318
sfWindowHandle sfWindow_getSystemHandle(const sfWindow* window)
319319
{
320-
CSFML_CHECK_RETURN(window, NULL);
320+
CSFML_CHECK_RETURN(window, 0);
321321

322322
return (sfWindowHandle)window->This.getSystemHandle();
323323
}

0 commit comments

Comments
 (0)