瀏覽代碼

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 <galak@kernel.crashing.org>
Kumar Gala 19 年之前
父節點
當前提交
cbd312b94e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/ppc/lib/strcase.c

+ 1 - 1
arch/ppc/lib/strcase.c

@@ -11,7 +11,7 @@ int strcasecmp(const char *s1, const char *s2)
 	return c1 - c2;
 	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;
 	int c1, c2;