blob: 14ba0181d66a290c304e8bab43453335a9df12b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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;
}
|