mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 21:20:31 -04:00
11 lines
427 B
C
11 lines
427 B
C
--- arg.c.orig 2013-01-23 02:14:58 UTC
|
|
+++ arg.c
|
|
@@ -40,7 +40,7 @@ process_arg(ArgumentState *arg_state, in
|
|
*(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;
|