summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-23 12:22:43 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-23 12:22:43 +0000
commitd3a1d512467e7a4ac1928558ea84e26898d5de3b (patch)
tree5c46fba3d86f780fea8e7ab27e6a9f8459ce9daf /src
parent8ac5438e9dabbde99abed1b77b1b7d15950fe172 (diff)
downloadhercules-d3a1d512467e7a4ac1928558ea84e26898d5de3b.tar.gz
hercules-d3a1d512467e7a4ac1928558ea84e26898d5de3b.tar.bz2
hercules-d3a1d512467e7a4ac1928558ea84e26898d5de3b.tar.xz
hercules-d3a1d512467e7a4ac1928558ea84e26898d5de3b.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7311 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 487f78bfa..234a5a11b 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11916,7 +11916,7 @@ static int script_save_mapreg(void)
unsigned int perfomance = (unsigned int)time(NULL);
mapreg_db->foreach(mapreg_db,script_save_mapreg_intsub); // [zBuffer]
mapregstr_db->foreach(mapregstr_db,script_save_mapreg_strsub);
- perfomance = ((int)time(NULL) - perfomance);
+ perfomance = ((unsigned int)time(NULL) - perfomance);
if(perfomance > 2)
ShowWarning("Slow Query: MapregSQL Saving @ %d second(s).\n", perfomance);
#endif