From 2d136efe4e6359cf1d76aff6101a147b002eee6c Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 28 Jun 2010 23:11:28 +0200 Subject: [PATCH] Use %zd when printing result of strlen(). --- src/CPersistData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 src/CPersistData.cpp diff --git a/src/CPersistData.cpp b/src/CPersistData.cpp old mode 100755 new mode 100644 index b0d2430..9150c00 --- a/src/CPersistData.cpp +++ b/src/CPersistData.cpp @@ -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; } -- 2.39.5