git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6661 54d463be-8e91-2dee-dedb-b68131a5f0ec
@@ -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]
@@ -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);