ea9e2618b7
explicitly casting positions to long, since that is what the code expects.
13 lines
392 B
Text
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;
|