Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix reported [-Werror=format] issue.

  • Loading branch information...
commit 0bfee185a38c1a354c14b33a064d13d81a03962f 1 parent 646f6d7
vexed vexed authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/netplay/netplay.cpp
2  lib/netplay/netplay.cpp
@@ -795,7 +795,7 @@ static bool NETsendGAMESTRUCT(Socket* sock, const GAMESTRUCT* ourgamestruct)
795 795 return false;
796 796 }
797 797
798   - debug(LOG_NET, "sent GAMESTRUCT size=%ld game is=%ld", sizeof(buf), sizeof(GAMESTRUCT));
  798 + debug(LOG_NET, "sent GAMESTRUCT size=%u game is=%u", (unsigned int)sizeof(buf), (unsigned int)sizeof(GAMESTRUCT));
799 799
800 800 return true;
801 801 }

0 comments on commit 0bfee18

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