commit | fb450fba5d8737310a1f205ea3d38467dedf6afa | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Tue Mar 03 16:34:56 2015 +0100 |
committer | Pierre Ossman <ossman@cendio.se> | Tue Mar 03 16:34:56 2015 +0100 |
tree | 64408b35ce3d358703ff928975eebd4be319b5ba | |
parent | 64624342d98c62563c2a78b117ce3fcea9b61e68 [diff] |
Fix mismatches between format string and arguments
diff --git a/common/rfb/KeyRemapper.cxx b/common/rfb/KeyRemapper.cxx index 05f0763..d33f0a4 100644 --- a/common/rfb/KeyRemapper.cxx +++ b/common/rfb/KeyRemapper.cxx
@@ -50,7 +50,7 @@ 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])