aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_string.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-05-30 14:27:59 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-05-30 14:27:59 +0000
commitaa3436c04c222d57498bfa34c9fdec50f07fd08d (patch)
treeffb90c3e0993917338dffd4ad98a9f0b0e55e13c /src/core/ngx_string.h
parent1393325df8b1f530bf5c257fde39c26e8333d8d7 (diff)
downloadnginx-aa3436c04c222d57498bfa34c9fdec50f07fd08d.tar.gz
nginx-aa3436c04c222d57498bfa34c9fdec50f07fd08d.zip
nginx-0.0.1-2003-05-30-18:27:59 import
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r--src/core/ngx_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h
index 9f72f17b0..daf5f00b7 100644
--- a/src/core/ngx_string.h
+++ b/src/core/ngx_string.h
@@ -46,7 +46,7 @@ typedef struct {
#endif
#define ngx_memcpy(dst, src, n) memcpy(dst, src, n)
-#define ngx_cpymem(dst, src, n) memcpy(dst, src, n) + n
+#define ngx_cpymem(dst, src, n) ((char *) memcpy(dst, src, n)) + n
char *ngx_cpystrn(char *dst, char *src, size_t n);
int ngx_rstrncmp(char *s1, char *s2, size_t n);