summaryrefslogtreecommitdiffstats
path: root/src/UI/Window.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-12 18:34:50 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-12 18:34:50 +0100
commit862e2194433b5d47aaf88261091b35a1ee663482 (patch)
tree0193a728a38fd760b40d186d45c283ac2685e7ea /src/UI/Window.cpp
parentMerge branch 'Werror' into warnings (diff)
downloadcuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar.gz
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar.bz2
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar.lz
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar.xz
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar.zst
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.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 5249a4bca..aae7b99a3 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 (%zu)", __FUNCTION__, (int)a_Item.m_ItemCount, a_SlotNums.size());
+ LOGWARNING("%s: Distributing less items (%d) than slots (" SIZE_T_FMT ")", __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;
}