diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-19 17:12:01 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-19 17:12:01 +0000 |
commit | 31add1651931d96b275edfff8bf0129d9fe4e0ca (patch) | |
tree | 7f85bb19e172c2755afda8ef55fefd4dab6f8e05 | |
parent | 78029e9054ef623bbad9c789ecb9da5b87795666 (diff) | |
download | hercules-31add1651931d96b275edfff8bf0129d9fe4e0ca.tar.gz hercules-31add1651931d96b275edfff8bf0129d9fe4e0ca.tar.bz2 hercules-31add1651931d96b275edfff8bf0129d9fe4e0ca.tar.xz hercules-31add1651931d96b275edfff8bf0129d9fe4e0ca.zip |
* Minor unsigned/signed alteration in pc_additem to shut the compiler up.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6661 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | src/map/pc.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 8da51279c..2c9716af2 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 ee28d8d3e..6d08da918 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);
|