summaryrefslogtreecommitdiff
path: root/lzf_c.c
diff options
context:
space:
mode:
authorroot <root>2008-05-06 22:49:18 +0000
committerroot <root>2008-05-06 22:49:18 +0000
commit696c19178d924f4e8ce0e76eda7488892351df8e (patch)
tree822ce1cf59c19aea024e1527a3202881eb86c618 /lzf_c.c
parentc135b9963b4e98e71e08a0da1aeba2d2adf5dfda (diff)
*** empty log message ***
Diffstat (limited to 'lzf_c.c')
-rw-r--r--lzf_c.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lzf_c.c b/lzf_c.c
index 2120cbf..268313a 100644
--- a/lzf_c.c
+++ b/lzf_c.c
@@ -114,7 +114,11 @@ lzf_compress (const void *const in_data, unsigned int in_len,
const u8 *ref;
unsigned int hval;
+#if WIN32
+ unsigned _int64 off; /* workaround for microsoft bug (they claim to support POSIX) */
+#else
unsigned long off;
+#endif
int lit;
if (!in_len || !out_len)