From 80c6ead24280c15ec859c63ce73924bb948b8323 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 29 Nov 2006 19:54:05 +0000 Subject: 2006-11-29 Kazunori Asayama * libc/machine/spu/memset.c: Fix type of explicit cast. * libc/machine/spu/strncmp.c: Add explicit cast. * libc/machine/spu/strrchr.c: Ditto. * libc/machine/spu/strspn.c: Ditto. --- newlib/libc/machine/spu/strspn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/machine/spu/strspn.c') diff --git a/newlib/libc/machine/spu/strspn.c b/newlib/libc/machine/spu/strspn.c index 93cbd9d3c..511e6316e 100644 --- a/newlib/libc/machine/spu/strspn.c +++ b/newlib/libc/machine/spu/strspn.c @@ -63,7 +63,7 @@ size_t strspn(const char *s1, const char *s2) do { data1 = spu_shuffle(dataA, dataB, shuffle); - match = spu_splats(0); + match = spu_splats((unsigned char)0); ptr2 = (vec_uchar16 *)s2; data2 = *ptr2; -- cgit v1.2.3