freebsd-ports/games/crossfire-server/files/patch-common::exp.c
Kirill Ponomarev 74fd542199 Update to version 1.6.0
PR:		ports/71056
Submitted by:	Ports Fury
2004-08-28 06:11:00 +00:00

11 lines
352 B
C

--- common/exp.c.orig Sat Mar 27 06:59:25 2004
+++ common/exp.c Thu Aug 26 05:56:20 2004
@@ -190,7 +190,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
*/