diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-11-23 17:00:11 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-11-23 17:00:11 +0000 |
commit | 2e8f0d0b302758ebb08961d0ad632fdd4e35e837 (patch) | |
tree | a72bc9a6256d2345449f600b2f46171119355ee8 /src/core/ngx_string.h | |
parent | 36b634cdbca03d09b5a9c9353e706677c42b4688 (diff) | |
download | nginx-2e8f0d0b302758ebb08961d0ad632fdd4e35e837.tar.gz nginx-2e8f0d0b302758ebb08961d0ad632fdd4e35e837.zip |
update ngx_memcmp()
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r-- | src/core/ngx_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h index 275c8db5e..1bca791bf 100644 --- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -114,7 +114,7 @@ ngx_copy(u_char *dst, u_char *src, size_t len) /* msvc and icc7 compile memcmp() to the inline loop */ -#define ngx_memcmp memcmp +#define ngx_memcmp(s1, s2, n) memcmp((const char *) s1, (const char *) s2, n) u_char *ngx_cpystrn(u_char *dst, u_char *src, size_t n); |