diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-09 11:17:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-09 11:17:23 -0400 |
commit | eb856a3e51e14690ede533dd84bef48ae818eefe (patch) | |
tree | ca549a54591a9138c89627972cc02a0c1aabdc75 /src/lib/string | |
parent | cec8d4aa92042bee022fd98e429f721ccad297b5 (diff) | |
download | tor-eb856a3e51e14690ede533dd84bef48ae818eefe.tar.gz tor-eb856a3e51e14690ede533dd84bef48ae818eefe.zip |
strcasecmp should not take a size_t argument
Diffstat (limited to 'src/lib/string')
-rw-r--r-- | src/lib/string/compat_string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/string/compat_string.h b/src/lib/string/compat_string.h index 5879c28fc2..4726d2b5b6 100644 --- a/src/lib/string/compat_string.h +++ b/src/lib/string/compat_string.h @@ -22,8 +22,8 @@ static inline int strncasecmp(const char *a, const char *b, size_t n) { } #endif #ifndef HAVE_STRCASECMP -static inline int strcasecmp(const char *a, const char *b, size_t n); -static inline int strcasecmp(const char *a, const char *b, size_t n) { +static inline int strcasecmp(const char *a, const char *b); +static inline int strcasecmp(const char *a, const char *b) { return _stricmp(a,b); } #endif |