summaryrefslogtreecommitdiffstats
path: root/games/crossfire-server/files/patch-common::exp.c
blob: a58b184b0ea0dadea21d57857ee43eaef95c73a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- common/exp.c.orig	2010-04-26 15:23:21.000000000 +0900
+++ common/exp.c	2010-05-25 04:22:52.000000000 +0900
@@ -224,7 +224,7 @@
                 exit(1);
             }
 
-            tmpexp = atoll(cp);
+            tmpexp = strtoll(cp, (char **)NULL, 10);
             /* Do some sanity checking - if value is bogus, just exit because
              * the table otherwise is probably in an inconsistent state
              */
OpenPOWER on IntegriCloud