pkgsrc/games/xkobo/patches/patch-ab

22 lines
457 B
Text

$NetBSD: patch-ab,v 1.1 2001/10/18 19:12:40 abs Exp $
--- file.C.orig Thu Oct 18 19:49:52 2001
+++ file.C
@@ -42,7 +42,7 @@
ret = -2;
break;
}
- t += i;
+ t = (char *)t + i;
len -= i;
} while (len > 0);
for (;;){
@@ -68,7 +68,7 @@
ret = -2;
break;
}
- t += i;
+ t = (char *)t + i;
len -= i;
} while (len > 0);
for (;;){