diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2006-02-20 13:18:26 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2006-02-20 13:18:26 +0000 |
commit | f03bedcae2bfbd4ccfccbb7e0106388bb2dbec4b (patch) | |
tree | c5712fcaf302723f2019d0d5df7e9ff55f1b7520 /devel/hp48xgcc/files/patch-class+LKV+Bstream.cc | |
parent | - Fix problem with ancient make. (diff) |
Add HP48-xgcc 1.0.2, GNU C cross-compiler for HP48 calculators.
Now one step closer porting BSD on my HP48GX. ;-)
Notes
Notes:
svn path=/head/; revision=156493
Diffstat (limited to 'devel/hp48xgcc/files/patch-class+LKV+Bstream.cc')
-rw-r--r-- | devel/hp48xgcc/files/patch-class+LKV+Bstream.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/hp48xgcc/files/patch-class+LKV+Bstream.cc b/devel/hp48xgcc/files/patch-class+LKV+Bstream.cc new file mode 100644 index 000000000000..37e111361141 --- /dev/null +++ b/devel/hp48xgcc/files/patch-class+LKV+Bstream.cc @@ -0,0 +1,20 @@ +--- class/LKV/Bstream.cc 3 Nov 2004 06:57:51 -0000 1.1 ++++ class/LKV/Bstream.cc 3 Nov 2004 11:24:06 -0000 1.2 +@@ -17,7 +17,7 @@ + #endif + + void BOstream::ewrite(const void * p, int size) { +- write ((const unsigned char *)p, size); ++ write ((const char *)p, size); + if (ostream::fail()) { + set_error("BOstream::operator<< ","write-error"); + } +@@ -34,7 +34,7 @@ + #endif + + void BIstream::eread(void * p, int size) { +- read ((unsigned char *)p, size); ++ read ((char *)p, size); + if (istream::fail()) { + set_error("BIstream::operator>> ","read-error"); + } |