Commit eb856a3e authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

strcasecmp should not take a size_t argument

parent cec8d4aa
...@@ -22,8 +22,8 @@ static inline int strncasecmp(const char *a, const char *b, size_t n) { ...@@ -22,8 +22,8 @@ static inline int strncasecmp(const char *a, const char *b, size_t n) {
} }
#endif #endif
#ifndef HAVE_STRCASECMP #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);
static inline int strcasecmp(const char *a, const char *b, size_t n) { static inline int strcasecmp(const char *a, const char *b) {
return _stricmp(a,b); return _stricmp(a,b);
} }
#endif #endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment