diff -u chmlib-0.37/src/chm_lib.h kchm-0.6.5/libchm++/chm_lib.h --- src/chm_lib.h 2005-09-09 14:37:23.000000000 +0200 +++ src/chm_lib.h 2005-03-15 17:25:29.000000000 +0100 @@ -51,13 +51,11 @@ #include #endif -#ifdef WIN32 -typedef unsigned __int64 LONGUINT64; -typedef __int64 LONGINT64; -#else -typedef unsigned long long LONGUINT64; -typedef long long LONGINT64; -#endif +#include +#include + +typedef __uint64_t LONGUINT64; +typedef __int64_t LONGINT64; /* the two available spaces in a CHM file */ /* N.B.: The format supports arbitrarily many spaces, but only */ @@ -69,13 +67,12 @@ struct chmFile; /* structure representing an element from an ITS file stream */ -#define CHM_MAX_PATHLEN (512) +#define CHM_MAX_PATHLEN (256) struct chmUnitInfo { LONGUINT64 start; LONGUINT64 length; int space; - int flags; char path[CHM_MAX_PATHLEN+1]; };