diff options
| author | Pawel Sikora <pluto@pld-linux.org> | 2005-01-15 19:21:00 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-15 19:21:00 -0800 |
| commit | a853f20d433a40c5375dd83103d3e62937cfd116 (patch) | |
| tree | 4182e89dc120869d3bfa9b7b48a3476f96eae298 /include | |
| parent | 8aa11989523554e67b3e19a1f4180b11cdf03a3c (diff) | |
[PATCH] final csum_and_copy_from_user gcc4 warning fixes
The build is clean now.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-i386/checksum.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-i386/checksum.h b/include/asm-i386/checksum.h index 263586ee177d..d76a5f081c91 100644 --- a/include/asm-i386/checksum.h +++ b/include/asm-i386/checksum.h @@ -47,7 +47,7 @@ unsigned int csum_partial_copy_from_user(const unsigned char __user *src, unsign int len, int sum, int *err_ptr) { might_sleep(); - return csum_partial_copy_generic((__force char *)src, dst, + return csum_partial_copy_generic((__force unsigned char *)src, dst, len, sum, err_ptr, NULL); } @@ -181,7 +181,7 @@ static __inline__ unsigned int csum_and_copy_to_user(const unsigned char *src, { might_sleep(); if (access_ok(VERIFY_WRITE, dst, len)) - return csum_partial_copy_generic(src, (__force char *)dst, len, sum, NULL, err_ptr); + return csum_partial_copy_generic(src, (__force unsigned char *)dst, len, sum, NULL, err_ptr); if (len) *err_ptr = -EFAULT; |
