| 150 | } |
| 151 | |
| 152 | int ZLIB_INTERNAL zmemcmp(const Bytef* s1, const Bytef* s2, uInt len) { |
| 153 | uInt j; |
| 154 | |
| 155 | for (j = 0; j < len; j++) { |
| 156 | if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1; |
| 157 | } |
| 158 | return 0; |
| 159 | } |
| 160 | |
| 161 | void ZLIB_INTERNAL zmemzero(Bytef* dest, uInt len) { |
| 162 | if (len == 0) return; |