summaryrefslogtreecommitdiff
path: root/src/char_sql/int_guild.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_guild.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_guild.c')
-rw-r--r--src/char_sql/int_guild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c
index 9fd4453d0..b3da7ea91 100644
--- a/src/char_sql/int_guild.c
+++ b/src/char_sql/int_guild.c
@@ -157,7 +157,7 @@ int inter_guild_tosql(struct guild *g,int flag)
} else if (g->guild_id == -1) { //New guild
if(mysql_field_count(&mysql_handle) == 0 &&
mysql_insert_id(&mysql_handle) != 0)
- g->guild_id = mysql_insert_id(&mysql_handle);
+ g->guild_id = (int)mysql_insert_id(&mysql_handle);
else
return 0; //Failed to get ID??
}