diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-11 22:16:08 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-11 22:16:08 +0100 |
commit | 16b27c4b7ae2ccb03355148fa7fc7116190cc5fb (patch) | |
tree | c5eb676f548fbfa770e11779bcc1380d7f16f06c /src/UI/Window.cpp | |
parent | Move Format issues (diff) | |
download | cuberite-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.cpp | 2 |
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; } |