PERFORCE change 29582 for review
Peter Wemm
peter at FreeBSD.org
Wed Apr 23 21:44:07 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=29582
Change 29582 by peter at peter_daintree on 2003/04/23 21:43:41
work around a gcc-3.3 x86-64 bug. there's a similar workaround in subr_hints.c
this may be specific to the -mcmodel=medium setting.
Affected files ...
.. //depot/projects/hammer/sys/net/radix.c#4 edit
Differences ...
==== //depot/projects/hammer/sys/net/radix.c#4 (text+ko) ====
@@ -451,7 +451,7 @@
/*
* Trim trailing zeroes.
*/
- for (cp = addmask_key + mlen; (cp > addmask_key) && cp[-1] == 0;)
+ for (cp = addmask_key + mlen; (cp > addmask_key) && *(cp - 1) == 0;)
cp--;
mlen = cp - addmask_key;
if (mlen <= skip) {
More information about the p4-projects
mailing list