From 025ee8cbb43e1c685ec6da17c3598265ff494dd8 Mon Sep 17 00:00:00 2001 From: Lance Date: Fri, 19 May 2006 17:12:01 +0000 Subject: [PATCH] * Minor unsigned/signed alteration in pc_additem to shut the compiler up. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6661 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 1 + src/map/pc.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 8da51279c9..2c9716af24 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2006/05/19 + * Minor unsigned/signed alteration in pc_additem to shut the compiler up. [Lance] * Small change in pc_additem that could be fixing the current bug with new items not getting added. [Skotlex] * Fixed loginlog definition in main.sql, thanks to Tempesta [Skotlex] diff --git a/src/map/pc.c b/src/map/pc.c index ee28d8d3ee..6d08da918c 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2384,7 +2384,7 @@ int pc_additem(struct map_session_data *sd,struct item *item_data,int amount) { struct item_data *data; int i; - int w; + unsigned int w; nullpo_retr(1, sd); nullpo_retr(1, item_data);