$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;
