Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nemequ/liblzf.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Lehmann <schmorpforge@schmorp.de>2008-05-07 02:49:18 +0400
committerMarc Lehmann <schmorpforge@schmorp.de>2008-05-07 02:49:18 +0400
commit73fb851af6e33250a111d4d7c53f3f4ff9e35c5c (patch)
tree822ce1cf59c19aea024e1527a3202881eb86c618 /lzf_c.c
parent35cf3ce3031372d6cfadb290812033f9dbdacf8c (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)