summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJosepMaJAZ <josepma@gmail.com>2017-12-21 20:22:19 +0100
committerJosepMaJAZ <josepma@gmail.com>2017-12-21 20:22:19 +0100
commit7f0568d3d03cb29e0e88b19818e9ef681b73fc9d (patch)
treebefc3a8c64716f3b977749f601ad5dd70aa0204d /lib
parent24028f2e8a28210fe45d8b67f2bb44d580587261 (diff)
singleton fix for QT 5.10 and other miscellaneous warnings
Diffstat (limited to 'lib')
-rw-r--r--lib/xwax/lut_win32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwax/lut_win32.cpp b/lib/xwax/lut_win32.cpp
index 732a782492..feaf89c345 100644
--- a/lib/xwax/lut_win32.cpp
+++ b/lib/xwax/lut_win32.cpp
@@ -45,7 +45,7 @@ int lut_init(struct lut *lut, int nslots)
bytes = sizeof(struct slot) * nslots + sizeof(slot_no_t) * hashes;
fprintf(stderr, "Lookup table has %d hashes to %d slots"
- " (%d slots per hash, %u Kb)\n",
+ " (%d slots per hash, %zuKb)\n",
hashes, nslots, nslots / hashes, bytes / 1024);
lut->slot = (struct slot*)(malloc(sizeof(struct slot) * nslots));