Jelajahi Sumber

* 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
Lance 19 tahun lalu
induk
melakukan
025ee8cbb4
2 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/pc.c

+ 1 - 0
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]

+ 1 - 1
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);