Date: Tue, 15 Aug 2006 05:02:15 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 103976 for review Message-ID: <200608150502.k7F52F3f005970@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103976 Change 103976 by jb@jb_freebsd2 on 2006/08/15 05:01:16 Hmmm. gcc is picker on sun4v than on i386 when it comes to signed - unsigned comparisons. Affected files ... .. //depot/projects/dtrace/src/lib/libelf/elf_next.c#4 edit Differences ... ==== //depot/projects/dtrace/src/lib/libelf/elf_next.c#4 (text+ko) ==== @@ -52,7 +52,7 @@ next = e->e_rawfile - parent->e_rawfile + e->e_rawsize; next = (next + 1) & ~1; /* round up to next 2-byte offset */ - parent->e_u.e_ar.e_next = (next >= parent->e_rawsize) ? (off_t) -1 : next; + parent->e_u.e_ar.e_next = (next >= (off_t) parent->e_rawsize) ? (off_t) -1 : next; return (ELF_C_READ); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608150502.k7F52F3f005970>