pkgsrc/devel/tvision/patches/patch-ac
joerg ea9e2618b7 Add DragonFly support. Fix ambigious conversions for GCC 3.4+ by
explicitly casting positions to long, since that is what the code
expects.
2006-01-03 09:45:57 +00:00

13 lines
392 B
Text

$NetBSD: patch-ac,v 1.1 2006/01/03 09:45:57 joerg Exp $
--- lib/helpbase.cc.orig 2006-01-03 09:23:26.000000000 +0000
+++ lib/helpbase.cc
@@ -588,7 +588,7 @@ THelpFile::~THelpFile(void)
streampos size = filelength(*stream);
size =- 8;
*stream << magic;
- *stream << size;
+ *stream << (long)size;
*stream << indexPos;
}
delete stream;