freebsd-ports/devel/dparser/files/patch-arg.c
Kirill Ponomarev 4dcb418a8b - Fix build on -stable
- Support CFLAGS properly

PR:		ports/62259
Submitted by:	Ports Fury
2004-02-02 15:34:51 +00:00

11 lines
412 B
C

--- arg.c.orig Fri Nov 7 03:03:52 2003
+++ arg.c Mon Feb 2 18:35:43 2004
@@ -40,7 +40,7 @@
*(double *)desc[i].location = atof(arg);
break;
case 'L':
- *(int64 *)desc[i].location = atoll(arg);
+ *(int64 *)desc[i].location = strtoll(arg,NULL,10);
break;
case 'S': strncpy((char *)desc[i].location,arg, atoi(desc[i].type+1));
break;