forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
11 lines
412 B
C
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;
|