]> git.mxchange.org Git - quix0rs-blobwars.git/commitdiff
Use %zd when printing result of strlen().
authorGuus Sliepen <guus@debian.org>
Mon, 28 Jun 2010 21:11:28 +0000 (23:11 +0200)
committerGuus Sliepen <guus@debian.org>
Mon, 28 Jun 2010 21:11:28 +0000 (23:11 +0200)
src/CPersistData.cpp [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index b0d2430..9150c00
@@ -33,7 +33,7 @@ bool PersistData::setData(const char *data)
 {
        if (strlen(data) > 149)
        {
-               debug(("ERROR: PERSISTANT DATA LINE EXCEEDS 150 CHARACTERS! IS %d!\n", strlen(data)));
+               debug(("ERROR: PERSISTANT DATA LINE EXCEEDS 150 CHARACTERS! IS %zd!\n", strlen(data)));
                return false;
        }