Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 21:06:46 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 13227 for review
Message-ID:  <200206210406.g5L46k856143@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13227

Change 13227 by peter@peter_ia64 on 2002/06/20 21:06:26

	fix (I hope) a warning that Maxime found.

Affected files ...

... //depot/projects/ia64/sys/sparc64/sparc64/elf_machdep.c#5 edit

Differences ...

==== //depot/projects/ia64/sys/sparc64/sparc64/elf_machdep.c#5 (text+ko) ====

@@ -217,7 +217,7 @@
 	Elf_Word rtype, symidx;
 	Elf_Addr value;
 	Elf_Addr mask;
-	caddr_t addr;
+	Elf_Addr addr;
 
 	if (type != ELF_RELOC_RELA)
 		return (-1);
@@ -245,7 +245,7 @@
 		addr = elf_lookup(lf, symidx, 1);
 		if (addr == 0)
 			return (-1);
-		value += (Elf_Addr)addr;
+		value += addr;
 	}
 
 	if (RELOC_PC_RELATIVE(rtype))

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206210406.g5L46k856143>