From 0f7812e097ae410b03804b7d9ab810a139c00c5d Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 26 Nov 2003 20:36:20 +0000 Subject: [PATCH] - type fixes Changed files: chmtools-types.patch -> 1.1 --- chmtools-types.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 chmtools-types.patch diff --git a/chmtools-types.patch b/chmtools-types.patch new file mode 100644 index 0000000..7185794 --- /dev/null +++ b/chmtools-types.patch @@ -0,0 +1,23 @@ +--- chmtools/chmlib.h.orig 2002-01-08 05:01:31.000000000 +0100 ++++ chmtools/chmlib.h 2003-11-26 21:16:59.177783736 +0100 +@@ -19,8 +19,7 @@ + */ + + #include +-typedef unsigned long ulong; +-// typedef unsigned short ushort; Already defined for Darwin ++#include + typedef unsigned char ubyte; + + typedef struct guid_t +--- chmtools/chmlib.c.orig 2001-10-14 22:37:30.000000000 +0200 ++++ chmtools/chmlib.c 2003-11-26 21:16:32.774797600 +0100 +@@ -162,7 +162,7 @@ + int nentries; + int nchunks; + pmglchunkheader pmglch; +- fpos_t chunkstart; ++ long chunkstart; + + readdirheader(c); + chunkstart = ftell(c->cf); -- 2.43.0