pkgsrc/lang/sr/patches/patch-bj
2005-04-05 15:58:05 +00:00

13 lines
363 B
Text

$NetBSD: patch-bj,v 1.1 2005/04/05 15:58:05 is Exp $
--- sr/gexpr.c.orig 1999-10-26 03:06:20.000000000 +0200
+++ sr/gexpr.c
@@ -942,7 +942,7 @@ Nodeptr e;
r = RNODE (e);
if (l->e_sig->g_type == T_STRING) {
if (option_O)
- cprintf ("(DATA(%e)+%e-1)", l, r);
+ cprintf ("((Char*)DATA(%e)+%e-1)", l, r);
else {
cprintf ("(");
once (l, ',');