diff options
Diffstat (limited to 'cad/qcad/patches/patch-ah')
-rw-r--r-- | cad/qcad/patches/patch-ah | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cad/qcad/patches/patch-ah b/cad/qcad/patches/patch-ah new file mode 100644 index 00000000000..1c8071e73eb --- /dev/null +++ b/cad/qcad/patches/patch-ah @@ -0,0 +1,15 @@ +$NetBSD: patch-ah,v 1.1 2008/04/03 10:53:46 joerg Exp $ + +Don't cast pointers to int for printing. + +--- qcadlib/src/engine/rs_entity.cpp.orig 2008-04-03 11:29:18.000000000 +0200 ++++ qcadlib/src/engine/rs_entity.cpp +@@ -861,7 +861,7 @@ std::ostream& operator << (std::ostream& + os << " layer: NULL "; + } else { + os << " layer: " << e.layer->getName().latin1() << " "; +- os << " layer address: " << (int)(e.layer) << " "; ++ os << " layer address: " << (e.layer) << " "; + } + + os << e.pen << "\n"; |