comparison src/core/ngx_crc.h @ 789:604f9671fae6

char* > u_char*
author Igor Sysoev <igor@sysoev.ru>
date Wed, 18 Oct 2006 18:43:11 +0000
parents 5622cdd48e5b
children 99858705b03f
comparison
equal deleted inserted replaced
788:ff16489f1eac 789:604f9671fae6
9 9
10 10
11 /* 32-bit crc16 */ 11 /* 32-bit crc16 */
12 12
13 static ngx_inline uint32_t 13 static ngx_inline uint32_t
14 ngx_crc(char *data, size_t len) 14 ngx_crc(u_char *data, size_t len)
15 { 15 {
16 uint32_t sum; 16 uint32_t sum;
17 17
18 for (sum = 0; len; len--) { 18 for (sum = 0; len; len--) {
19 19