From f03bedcae2bfbd4ccfccbb7e0106388bb2dbec4b Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Mon, 20 Feb 2006 13:18:26 +0000 Subject: Add HP48-xgcc 1.0.2, GNU C cross-compiler for HP48 calculators. Now one step closer porting BSD on my HP48GX. ;-) --- devel/hp48xgcc/files/patch-class+LKV+Bstream.cc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 devel/hp48xgcc/files/patch-class+LKV+Bstream.cc (limited to 'devel/hp48xgcc/files/patch-class+LKV+Bstream.cc') 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"); + } -- cgit v1.2.3