freebsd-ports/games/crossfire-server/files/patch-common_exp.c
Mathieu Arnold a530df564a Update to 1.71.0.
PR:		205206
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-03-08 15:55:32 +00:00

11 lines
411 B
C

--- common/exp.c.orig 2014-04-05 22:30:50 UTC
+++ common/exp.c
@@ -209,7 +209,7 @@ void init_experience(void) {
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
*/