medfall

A super great game engine
Log | Files | Refs

commit 52d3e52e2102617d96f6b2dd55f0a7396ace3a8b
parent 66c47ee51102c7545be3d0075494afb8a7056526
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Mon Apr 17 23:14:11 +0300

MSVC warning

Diffstat:
main.cc | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/main.cc b/main.cc @@ -44,7 +44,9 @@ static Game load_game( const char * path ) { game.frame = ( GameFrame * ) library_function( game.lib, "game_frame" ); if( !game.init || !game.frame ) { - WARN( "load_game: couldn't find game functions (init = %p, frame = %p)", game.init, game.frame ); + WARN( "load_game: couldn't find game functions (init = {}, frame = {})", + game.init == NULL ? "NULL" : "ok", + game.frame == NULL ? "NULL" : "ok" ); game.init = NULL; game.frame = NULL;