Skip to content
Browse files

Fix reported [-Werror=format] issue.

  • Loading branch information...
1 parent 646f6d7 commit 0bfee185a38c1a354c14b33a064d13d81a03962f @vexed vexed committed Jul 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/netplay/netplay.cpp
View
2 lib/netplay/netplay.cpp
@@ -795,7 +795,7 @@ static bool NETsendGAMESTRUCT(Socket* sock, const GAMESTRUCT* ourgamestruct)
return false;
}
- debug(LOG_NET, "sent GAMESTRUCT size=%ld game is=%ld", sizeof(buf), sizeof(GAMESTRUCT));
+ debug(LOG_NET, "sent GAMESTRUCT size=%u game is=%u", (unsigned int)sizeof(buf), (unsigned int)sizeof(GAMESTRUCT));
return true;
}

0 comments on commit 0bfee18

Please sign in to comment.
Something went wrong with that request. Please try again.