This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 02/28/2012 05:12 AM, Schwarz, Konrad wrote: >> @@ -198,7 +198,7 @@ int eflags; >> >> /* Jump to next possible match */ >> mj = matchjump[pp - mustfirst]; >> - cj = charjump[*dp]; >> + cj = charjump[(unsigned char)*dp]; >> dp += (cj < mj ? mj : cj); >> pp = mustlast; >> } > > Wouldn't it be less source and object code to define dp as > an unsigned char *? Perhaps; I'll work up that counter-proposal patch, and we can see which one looks better before I push anything (my fear is that changing the type of dp may have ripple effects on how many lines of code need touching). -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |