From dfa81829fecf4e3bcc3316ebd69deb7d2c205332 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Sun, 22 Dec 2013 15:33:43 +0100 Subject: Fixed signedness warning in cItemGrid. --- src/ItemGrid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ItemGrid.h') diff --git a/src/ItemGrid.h b/src/ItemGrid.h index a4af523cf..b344e3daf 100644 --- a/src/ItemGrid.h +++ b/src/ItemGrid.h @@ -157,7 +157,7 @@ public: A total of a_NumSlots are taken by the loot. Cannot export to Lua due to raw array a_LootProbabs. TODO: Make this exportable / export through ManualBindings.cpp with a Lua table as LootProbabs */ - void GenerateRandomLootWithBooks(const cLootProbab * a_LootProbabs, int a_CountLootProbabs, int a_NumSlots, int a_Seed); + void GenerateRandomLootWithBooks(const cLootProbab * a_LootProbabs, size_t a_CountLootProbabs, int a_NumSlots, int a_Seed); /// Adds a callback that gets called whenever a slot changes. Must not be called from within the listener callback! void AddListener(cListener & a_Listener); -- cgit v1.2.3