SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
textproc/isearch/patches/patch-src_string_cxx
Normal file
20
textproc/isearch/patches/patch-src_string_cxx
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- src/string.cxx.orig Wed Dec 4 22:02:10 1996
|
||||
+++ src/string.cxx Sat May 22 12:55:04 2010
|
||||
@@ -453,7 +453,7 @@ INT STRING::CaseEquals(const CHR* CString) const {
|
||||
}
|
||||
|
||||
void STRING::Print() const {
|
||||
- cout.write(Buffer, Length);
|
||||
+ cout.write((char *)Buffer, Length);
|
||||
}
|
||||
|
||||
void STRING::Print(PFILE FilePointer) const {
|
||||
@@ -464,7 +464,7 @@ void STRING::Print(PFILE FilePointer) const {
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue