summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authormarkzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-03 09:12:36 +0000
committermarkzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-03 09:12:36 +0000
commit6bce3af9caeb640d8097602e7cfd743792a8b035 (patch)
treeff83c264b34b5ec855baf5d8872ea89b425138f2 /src/map/atcommand.c
parenta1238e85340c38861365f9c2e4a42a6f59d560c0 (diff)
downloadhercules-6bce3af9caeb640d8097602e7cfd743792a8b035.tar.gz
hercules-6bce3af9caeb640d8097602e7cfd743792a8b035.tar.bz2
hercules-6bce3af9caeb640d8097602e7cfd743792a8b035.tar.xz
hercules-6bce3af9caeb640d8097602e7cfd743792a8b035.zip
- Fixed an warning of type casting. (bugreport:7081)
- Removed an unecessary type cast before atoi. - Fixed Ray of Genesis Attack Formula. (bugreport:7053) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17074 54d463be-8e91-2dee-dedb-b68131a5f0ec
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))));
}