aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/packddir/files/patch-upackddir.c
blob: 8972f60fa251b6ae8b1c13ca41167db8bf9dd57f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- upackddir.c.orig	2004-01-17 12:08:52 UTC
+++ upackddir.c
@@ -253,7 +253,7 @@ int packfile_extract(char *packfile, int
 	}
 
 	/* Let's jump to the beginning of our sweet data */
-	(char *) mapped += n;
+	mapped += n;
 
 	for (i = 0; i < pack->numfiles; i++) {
 		fprintf(stderr, "%s\n", mapped->name);
@@ -297,7 +297,7 @@ int packfile_extract_filename(char *pack
 	}
 
 	/* Let's jump to the beginning of our sweet data */
-	(char *) mapped += n;
+	mapped += n;
 
 	for (i = 0; i < pack->numfiles; i++) {
 		if (strcmp(name, mapped->name) == 0) {