summaryrefslogtreecommitdiff
path: root/emulators/vxtools/files/patch-dir.c
blob: 7a9e8d3e4a0416fa52d04223689385e1a3b77990 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./dir.c.orig	1999-12-02 17:57:40.000000000 +0100
+++ ./dir.c	2014-03-14 13:54:55.820662227 +0100
@@ -105,7 +105,7 @@
 					if (direct->ino)
 						filldir (dir, direct->name, direct->namelen, direct->ino);
 
-					(char *) direct += direct->reclen;
+					direct = (char *) direct + direct->reclen;
 				}
 
 			free (block);