Skip to content

Commit

Permalink
ppc: fix strncasecmp prototype
Browse files Browse the repository at this point in the history
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 <galak@kernel.crashing.org>
  • Loading branch information
Kumar Gala committed Mar 28, 2006
1 parent ff2e6d7 commit cbd312b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ppc/lib/strcase.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cbd312b

Please sign in to comment.