Messages in this thread | | | Date | Fri, 1 Feb 2008 11:56:24 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] x86: sparse errors from string_32.h |
| |
* Harvey Harrison <harvey.harrison@gmail.com> wrote:
> case 1: > - *(unsigned char *)s = pattern; > + *(unsigned char *)s = pattern & 0xff;
i've applied your fix - but wouldnt it be cleaner to just cast the pattern variable to unsigned char instead?
Ingo
| |