$NetBSD: patch-ab,v 1.1 2004/05/23 22:33:17 kristerw Exp $ --- src/string.cxx.orig 2004-05-24 00:25:54.000000000 +0200 +++ src/string.cxx 2004-05-24 00:26:37.000000000 +0200 @@ -574,7 +574,7 @@ // can this be const STRING& ? ostream& operator<<(ostream& os, const STRING& str) { - os.write(str.Buffer, str.Length); + os.write((const char*)str.Buffer, str.Length); return os; }