change log for rtems (2010-04-28)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Apr 29 04:10:34 UTC 2010


 *ralf*:
2010-04-29	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libnetworking/libc/map_v4v6.c: Use uintptr_t instead of u_long for
	better 16bit target compliance.

M 1.2272  cpukit/ChangeLog
M    1.7  cpukit/libnetworking/libc/map_v4v6.c

diff -u rtems/cpukit/ChangeLog:1.2271 rtems/cpukit/ChangeLog:1.2272
--- rtems/cpukit/ChangeLog:1.2271	Wed Apr 28 10:01:31 2010
+++ rtems/cpukit/ChangeLog	Wed Apr 28 22:13:13 2010
@@ -1,3 +1,8 @@
+2010-04-29	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* libnetworking/libc/map_v4v6.c: Use uintptr_t instead of u_long for
+	better 16bit target compliance.
+
 2010-04-28	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* libcsupport/src/chdir.c: Check for NULL pointer.

diff -u rtems/cpukit/libnetworking/libc/map_v4v6.c:1.6 rtems/cpukit/libnetworking/libc/map_v4v6.c:1.7
--- rtems/cpukit/libnetworking/libc/map_v4v6.c:1.6	Mon Sep  1 01:59:32 2008
+++ rtems/cpukit/libnetworking/libc/map_v4v6.c	Wed Apr 28 22:13:13 2010
@@ -108,7 +108,7 @@
 	hp->h_addrtype = AF_INET6;
 	hp->h_length = IN6ADDRSZ;
 	for (ap = hp->h_addr_list; *ap; ap++) {
-		int i = sizeof(align) - ((u_long)*bpp % sizeof(align));
+		int i = sizeof(align) - ((uintptr_t)*bpp % sizeof(align));
 
 		if (*lenp < (i + IN6ADDRSZ)) {
 			/* Out of memory.  Truncate address list here.  XXX */



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100428/e0abc70f/attachment-0001.html>


More information about the vc mailing list