summaryrefslogtreecommitdiff
path: root/src/char_sql/int_party.c
diff options
context:
space:
mode:
authorcodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-01 05:43:41 +0000
committercodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-01 05:43:41 +0000
commit6803e755d6805fe86345558a76f7d7b24dbbacc3 (patch)
tree3fee9f402c3a4e359d93a305a6de499405e015ab /src/char_sql/int_party.c
parent3a44a959e2d8f76d5a43a81992e3d17fe50644d0 (diff)
downloadhercules-6803e755d6805fe86345558a76f7d7b24dbbacc3.tar.gz
hercules-6803e755d6805fe86345558a76f7d7b24dbbacc3.tar.bz2
hercules-6803e755d6805fe86345558a76f7d7b24dbbacc3.tar.xz
hercules-6803e755d6805fe86345558a76f7d7b24dbbacc3.zip
* Corrected a few Compiling Warnings [Codemaster]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5405 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_party.c')
-rw-r--r--src/char_sql/int_party.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/int_party.c b/src/char_sql/int_party.c
index fcc11dc57..010abdc8f 100644
--- a/src/char_sql/int_party.c
+++ b/src/char_sql/int_party.c
@@ -89,7 +89,7 @@ int inter_party_tosql(struct party *p, int flag, int index)
}
if(mysql_field_count(&mysql_handle) == 0 &&
mysql_insert_id(&mysql_handle) != 0)
- party_id = p->party_id = mysql_insert_id(&mysql_handle);
+ party_id = p->party_id = (int)mysql_insert_id(&mysql_handle);
else { //Failed to retrieve ID??
aFree(p); //Free party, couldn't create it.
return 0;