… | |
… | |
112 | const u8 *in_end = ip + in_len; |
112 | const u8 *in_end = ip + in_len; |
113 | u8 *out_end = op + out_len; |
113 | u8 *out_end = op + out_len; |
114 | const u8 *ref; |
114 | const u8 *ref; |
115 | |
115 | |
116 | unsigned int hval; |
116 | unsigned int hval; |
|
|
117 | #if WIN32 |
|
|
118 | unsigned _int64 off; /* workaround for microsoft bug (they claim to support POSIX) */ |
|
|
119 | #else |
117 | unsigned long off; |
120 | unsigned long off; |
|
|
121 | #endif |
118 | int lit; |
122 | int lit; |
119 | |
123 | |
120 | if (!in_len || !out_len) |
124 | if (!in_len || !out_len) |
121 | return 0; |
125 | return 0; |
122 | |
126 | |