openbsd-ports/games/xkobo/patches/patch-file_C
naddy 52fab76073 - Regen ancient patches.
- C++ fix for gcc3.
ok espie@
2002-10-06 00:49:02 +00:00

22 lines
566 B
Plaintext

$OpenBSD: patch-file_C,v 1.1 2002/10/06 00:49:03 naddy Exp $
--- file.C.orig Fri Jan 10 03:17:36 1997
+++ file.C Sun Oct 6 00:55:01 2002
@@ -42,7 +42,7 @@ int load_block(char *file_name, void *t,
ret = -2;
break;
}
- t += i;
+ (char *) t += i;
len -= i;
} while (len > 0);
for (;;){
@@ -68,7 +68,7 @@ int save_block(char *file_name, void *t,
ret = -2;
break;
}
- t += i;
+ (char *) t += i;
len -= i;
} while (len > 0);
for (;;){