| 156 | } |
| 157 | |
| 158 | int ZLIB_INTERNAL zmemcmp(const Bytef* s1, const Bytef* s2, uInt len) |
| 159 | { |
| 160 | uInt j; |
| 161 | |
| 162 | for (j = 0; j < len; j++) { |
| 163 | if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1; |
| 164 | } |
| 165 | return 0; |
| 166 | } |
| 167 | |
| 168 | void ZLIB_INTERNAL zmemzero(Bytef* dest, uInt len) |
| 169 | { |