aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/KeyRemapper.cxx
diff options
context:
space:
mode:
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])