1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/devel/hp48xgcc/files/patch-class+NibStr.cc
Alexey Dokuchaev f03bedcae2 Add HP48-xgcc 1.0.2, GNU C cross-compiler for HP48 calculators.
Now one step closer porting BSD on my HP48GX.  ;-)
2006-02-20 13:18:26 +00:00

14 lines
381 B
C++

--- class/NibStr.cc 3 Nov 2004 06:57:51 -0000 1.1
+++ class/NibStr.cc 3 Nov 2004 12:49:26 -0000 1.2
@@ -84,8 +84,8 @@
}
-NibStr NibStr::operator+ (const NibStr & rv) const
- return res(length()+rv.length()) {
+NibStr NibStr::operator+ (const NibStr & rv) const {
+ NibStr res(length()+rv.length());
if (!res.fail) {
bcopy ( adr, res.adr, len );