summaryrefslogtreecommitdiff
path: root/src/map/mercenary.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-02 02:23:56 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-02 02:23:56 +0000
commit396001e8663d1fa0f8476f0bad7243317f70ab9d (patch)
treec38026d6bead9f6c42dfe2faf96668ce328449c0 /src/map/mercenary.c
parent5451ba7f9967d74103a05563bc11430e9e647946 (diff)
downloadhercules-396001e8663d1fa0f8476f0bad7243317f70ab9d.tar.gz
hercules-396001e8663d1fa0f8476f0bad7243317f70ab9d.tar.bz2
hercules-396001e8663d1fa0f8476f0bad7243317f70ab9d.tar.xz
hercules-396001e8663d1fa0f8476f0bad7243317f70ab9d.zip
[Fixed]
- Yet another compilation warning. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6924 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r--src/map/mercenary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index 0ceb9cbf5..c62877411 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -153,7 +153,7 @@ void merc_heal(struct homun_data *hd,int hp,int sp)
#ifndef TXT_ONLY
void merc_save(struct homun_data *hd)
{
- sprintf(tmp_sql, "UPDATE `homunculus` SET `class`='%d',`name`='%s',`level`='%d',`exp`='%d',`hunger`='%d',`hp`='%u',`sp`='%u',`skill1lv`='%d',`skill2lv`='%d',`skill3lv`='%d',`skill4lv`='%d',`skillpts`='%d' WHERE `id` = '%d'",
+ sprintf(tmp_sql, "UPDATE `homunculus` SET `class`='%d',`name`='%s',`level`='%d',`exp`='%lu',`hunger`='%d',`hp`='%u',`sp`='%u',`skill1lv`='%d',`skill2lv`='%d',`skill3lv`='%d',`skill4lv`='%d',`skillpts`='%d' WHERE `id` = '%d'",
hd->class_,hd->name,hd->level,hd->exp,hd->hunger_rate,
hd->battle_status.hp,hd->battle_status.sp,
hd->hskill[0].level,hd->hskill[1].level,hd->hskill[2].level,hd->hskill[3].level,