ports/security/manipulate_data/files/patch-read_data.c
Dmitry Marakasov 59b976c749 - Switch to options helpers
- Cosmetic fixes
- Regenerate patches with `make makepatch`
- Fix WWW:
2016-03-14 02:51:16 +00:00

11 lines
342 B
C

--- read_data.c.orig 2004-07-07 15:00:30 UTC
+++ read_data.c
@@ -32,7 +32,7 @@ int main (int argc, char *argv[]) {
if (sizeof(start) < 8)
start = atol(argv[2]);
else
- start = atoll(argv[2]);
+ start = strtoll(argv[2], (char **)NULL, 10);
bytes = atol(argv[3]);
if ((bytes < 1) || (bytes > MAX_SIZE)) {