summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2003-11-26 20:36:20 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit0f7812e097ae410b03804b7d9ab810a139c00c5d (patch)
tree8e13b004df73ef1b99017376aadd582bfd0b5341
downloadchmtools-0f7812e097ae410b03804b7d9ab810a139c00c5d.zip
chmtools-0f7812e097ae410b03804b7d9ab810a139c00c5d.tar.gz
- type fixes
Changed files: chmtools-types.patch -> 1.1
-rw-r--r--chmtools-types.patch23
1 files changed, 23 insertions, 0 deletions
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 <stdio.h>
+-typedef unsigned long ulong;
+-// typedef unsigned short ushort; Already defined for Darwin
++#include <stdlib.h>
+ 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);