summaryrefslogtreecommitdiffstats
path: root/common/rfb/KeyRemapper.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-03-03 16:34:56 +0100
committerPierre Ossman <ossman@cendio.se>2015-03-03 16:34:56 +0100
commitfb450fba5d8737310a1f205ea3d38467dedf6afa (patch)
tree64408b35ce3d358703ff928975eebd4be319b5ba /common/rfb/KeyRemapper.cxx
parent64624342d98c62563c2a78b117ce3fcea9b61e68 (diff)
downloadtigervnc-fb450fba5d8737310a1f205ea3d38467dedf6afa.tar.gz
tigervnc-fb450fba5d8737310a1f205ea3d38467dedf6afa.zip
Fix mismatches between format string and arguments
Diffstat (limited to 'common/rfb/KeyRemapper.cxx')
-rw-r--r--common/rfb/KeyRemapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/KeyRemapper.cxx b/common/rfb/KeyRemapper.cxx
index 05f07632..d33f0a45 100644
--- a/common/rfb/KeyRemapper.cxx
+++ b/common/rfb/KeyRemapper.cxx
@@ -50,7 +50,7 @@ void KeyRemapper::setMapping(const char* m) {
if (bidi == '<')
mapping[to] = from;
} else {
- vlog.error("warning: bad mapping %.*s", nextComma-m, m);
+ vlog.error("warning: bad mapping %.*s", (int)(nextComma-m), m);
}
m = nextComma;
if (nextComma[0])