aboutsummaryrefslogtreecommitdiffstats
path: root/security/manipulate_data/files/patch-read_data.c
blob: 1e1984c62eadc0149d10968bc026fdcce8fe06df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- read_data.c.orig    Wed Jul  7 17:00:30 2004
+++ read_data.c Sun Jul 25 23:36:58 2004
@@ -32,7 +32,7 @@
     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)) {