summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-03 14:17:53 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-03 14:17:53 +0000
commit1f7a0e3bf5c4ada8bfcd756c83c451be51f80e08 (patch)
tree812e8c301680db1a332426a830ed5d5d4f7e2142 /src/map/itemdb.c
parent33c862fabb849bbd93ef0bbba4688c149aefeccf (diff)
downloadhercules-1f7a0e3bf5c4ada8bfcd756c83c451be51f80e08.tar.gz
hercules-1f7a0e3bf5c4ada8bfcd756c83c451be51f80e08.tar.bz2
hercules-1f7a0e3bf5c4ada8bfcd756c83c451be51f80e08.tar.xz
hercules-1f7a0e3bf5c4ada8bfcd756c83c451be51f80e08.zip
- Oops, the overflow mentioned by foobar was actually because the equippable base-jobs field was unsigned short when we now need it to be unsigned int. Fixed now.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5884 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index f9e47d56f..cac0ae986 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -194,7 +194,7 @@ struct item_data* itemdb_exists(int nameid)
* to the format used by the map server. [Skotlex]
*------------------------------------------
*/
-static void itemdb_jobid2mapid(unsigned short *bclass, int jobmask)
+static void itemdb_jobid2mapid(unsigned int *bclass, int jobmask)
{
int i;
bclass[0]= bclass[1]= bclass[2]= 0;