pkgsrc/lang/mpd/patches/patch-bj
2005-10-17 20:30:27 +00:00

13 lines
365 B
Text

$NetBSD: patch-bj,v 1.1 2005/10/17 20:30:27 is Exp $
--- mpd/gexpr.c.orig 1999-10-26 03:06:20.000000000 +0200
+++ mpd/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, ',');