1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/textproc/isearch/files/patch-src::string.cxx
Edwin Groothuis 0f4482c148 Make textproc/isearch compile on -current again.
PR:		ports/46264
Submitted by:	Kuang-che Wu <kcwu@kcwu.dyndns.org>
2002-12-15 03:08:32 +00:00

12 lines
302 B
C++

--- src/string.cxx.orig Sun Dec 15 09:27:00 2002
+++ src/string.cxx Sun Dec 15 09:27:20 2002
@@ -574,7 +574,7 @@
// can this be const STRING& ?
ostream& operator<<(ostream& os, const STRING& str) {
- os.write(str.Buffer, str.Length);
+ os.write((char*)str.Buffer, str.Length);
return os;
}