PERFORCE change 103976 for review

John Birrell jb at FreeBSD.org
Tue Aug 15 05:02:16 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=103976

Change 103976 by jb at 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);
 }


More information about the p4-projects mailing list