summaryrefslogtreecommitdiffstats
path: root/src/UI
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-11 22:16:08 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-11 22:16:08 +0100
commit16b27c4b7ae2ccb03355148fa7fc7116190cc5fb (patch)
treec5eb676f548fbfa770e11779bcc1380d7f16f06c /src/UI
parentMove Format issues (diff)
downloadcuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar
cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.gz
cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.bz2
cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.lz
cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.xz
cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.zst
cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.zip
Diffstat (limited to '')
-rw-r--r--src/UI/Window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UI/Window.cpp b/src/UI/Window.cpp
index 1a8456f70..5249a4bca 100644
--- a/src/UI/Window.cpp
+++ b/src/UI/Window.cpp
@@ -637,7 +637,7 @@ int cWindow::DistributeItemToSlots(cPlayer & a_Player, const cItem & a_Item, int
{
if ((size_t)(a_Item.m_ItemCount) < a_SlotNums.size())
{
- LOGWARNING("%s: Distributing less items (%d) than slots (%u)", __FUNCTION__, (int)a_Item.m_ItemCount, a_SlotNums.size());
+ LOGWARNING("%s: Distributing less items (%d) than slots (%zu)", __FUNCTION__, (int)a_Item.m_ItemCount, a_SlotNums.size());
// This doesn't seem to happen with the 1.5.1 client, so we don't worry about it for now
return 0;
}