ports/devel/dparser/files/patch-arg.c
Dmitry Marakasov 6b2d11a23d - Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches with `make makepatch`
2015-12-19 01:37:20 +00:00

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;