From: Pierre Habouzit Date: Sat, 4 Nov 2006 15:30:47 +0000 (+0100) Subject: small leftovers X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=cba0e6e5396174e213987bd0d45cc6f25dc78b05;hp=efe9a0bac26a7dabf3953ea0597ce06b3dcb21fe;p=apps%2Fmadmutt.git small leftovers Signed-off-by: Pierre Habouzit --- diff --git a/lib-lib/str.h b/lib-lib/str.h index bb2d822..296cd55 100644 --- a/lib-lib/str.h +++ b/lib-lib/str.h @@ -86,11 +86,11 @@ static inline int m_strcasecmp(const char *a, const char *b) { return strcasecmp(NONULL(a), NONULL(b)); } -static inline int m_strncmp(const char *a, const char *b, size_t n) { +static inline int m_strncmp(const char *a, const char *b, ssize_t n) { return strncmp (NONULL(a), NONULL(b), n); } -static inline int m_strncasecmp(const char *a, const char *b, size_t n) { +static inline int m_strncasecmp(const char *a, const char *b, ssize_t n) { return strncasecmp(NONULL(a), NONULL(b), n); }