summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 1c7e37392..c6292a7a9 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -8611,7 +8611,7 @@ ACMD_FUNC(set) {
if( is_str )
set_var(sd, reg, (void*) val);
else
- set_var(sd, reg, (void*)__64BPRTSIZE((int)(atoi(val))));
+ set_var(sd, reg, (void*)__64BPRTSIZE((atoi(val))));
}