From: Kumar Gala Date: Tue, 28 Mar 2006 00:26:18 +0000 (-0600) Subject: ppc: fix strncasecmp prototype X-Git-Tag: v2.6.17-rc1~165^2~12^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbd312b94ed123dc7080c9591cb715cd2a7327c0;p=linux-2.6 ppc: fix strncasecmp prototype Match, Linus's fix to arch/powerpc in arch/ppc. strcasecmp takes a size_t, not an int, as its third argument. Signed-off-by: Kumar Gala --- diff --git a/arch/ppc/lib/strcase.c b/arch/ppc/lib/strcase.c index 36b521091b..d988578906 100644 --- a/arch/ppc/lib/strcase.c +++ b/arch/ppc/lib/strcase.c @@ -11,7 +11,7 @@ int strcasecmp(const char *s1, const char *s2) return c1 - c2; } -int strncasecmp(const char *s1, const char *s2, int n) +int strncasecmp(const char *s1, const char *s2, size_t n) { int c1, c2;