diff options
author | Shauren <shauren.trinity@gmail.com> | 2015-03-08 22:04:34 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2015-03-08 22:04:34 +0100 |
commit | e15ba34444b4484cebbe2070e0f205ccf9c69a16 (patch) | |
tree | 47560de814f2112b3adc6162bc7ac0559608b5fc /src/server/game/Loot/LootMgr.h | |
parent | 75f0cabde74ed491bfe1545d2291f6ce28993ccf (diff) |
Core/Misc: Cleaned up data truncation warnings
Diffstat (limited to 'src/server/game/Loot/LootMgr.h')
-rw-r--r-- | src/server/game/Loot/LootMgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Loot/LootMgr.h b/src/server/game/Loot/LootMgr.h index a14bcb50107..534ed1a173c 100644 --- a/src/server/game/Loot/LootMgr.h +++ b/src/server/game/Loot/LootMgr.h @@ -144,7 +144,7 @@ struct LootStoreItem // Constructor // displayid is filled in IsValid() which must be called after - LootStoreItem(uint32 _itemid, uint32 _reference, float _chance, bool _needs_quest, uint16 _lootmode, uint8 _groupid, int32 _mincount, uint8 _maxcount) + LootStoreItem(uint32 _itemid, uint32 _reference, float _chance, bool _needs_quest, uint16 _lootmode, uint8 _groupid, uint8 _mincount, uint8 _maxcount) : itemid(_itemid), reference(_reference), chance(_chance), lootmode(_lootmode), needs_quest(_needs_quest), groupid(_groupid), mincount(_mincount), maxcount(_maxcount) { } |