summaryrefslogtreecommitdiff
path: root/src/map/mapreg_txt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mapreg_txt.c')
-rw-r--r--src/map/mapreg_txt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mapreg_txt.c b/src/map/mapreg_txt.c
index 555b773ee..95be201e2 100644
--- a/src/map/mapreg_txt.c
+++ b/src/map/mapreg_txt.c
@@ -151,7 +151,7 @@ static void script_save_mapreg(void)
mapreg_dirty = false;
}
-static int script_autosave_mapreg(int tid, unsigned int tick, int id, intptr data)
+static int script_autosave_mapreg(int tid, unsigned int tick, int id, intptr_t data)
{
if( mapreg_dirty )
script_save_mapreg();