<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-05-23)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-23 Ralf Corsépius <ralf.corsepius@rtems.org>

        PR 1528/cpukit
        * libcsupport/src/malloc_boundary.c: Cast to intptr_t* instead of
        int32_t* for 16 bit target compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2301&r2=text&tr2=1.2302&diff_format=h">M</a></td><td width='1%'>1.2302</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/malloc_boundary.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>cpukit/libcsupport/src/malloc_boundary.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2301 rtems/cpukit/ChangeLog:1.2302
--- rtems/cpukit/ChangeLog:1.2301       Sat May 22 11:51:04 2010
+++ rtems/cpukit/ChangeLog      Sun May 23 01:30:22 2010
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2010-05-23    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       PR 1528/cpukit
+       * libcsupport/src/malloc_boundary.c: Cast to intptr_t* instead of
+       int32_t* for 16 bit target compliance.
+
</font> 2010-05-22        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * libblock/include/rtems/nvdisk.h, libblock/src/nvdisk-sram.c:
<font color='#997700'>@@ -10,6 +16,7 @@
</font>   16bit target compliance.
 
 2010-05-22     Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+
</font>   * libfs/src/rfs/rtems-rfs-bitmaps-ut.c: Use "16 bit int" arg<span style="background-color: #FF0000"> </span>
        in call to srand if "32 bit int" doesn't fit into "int".
 

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/malloc_boundary.c:1.8 rtems/cpukit/libcsupport/src/malloc_boundary.c:1.9
--- rtems/cpukit/libcsupport/src/malloc_boundary.c:1.8  Thu Nov 19 07:51:40 2009
+++ rtems/cpukit/libcsupport/src/malloc_boundary.c      Sun May 23 01:30:23 2010
</font><font color='#997700'>@@ -75,18 +75,18 @@
</font> {
   void *return_this;
   struct mallocNode *mp = (struct mallocNode *)pointer;
<font color='#880000'>-  int *fp, *nfp;
</font><font color='#000088'>+  intptr_t *fp, *nfp;
</font>   int i;
 
   _RTEMS_Lock_allocator();
     mp->memory = mp + 1;
     return_this = mp->memory;
     mp->size = size - (sizeof(struct mallocNode) + SENTINELSIZE);
<font color='#880000'>-    fp = (int *)&size - 2;
</font><font color='#000088'>+    fp = (intptr_t *)&size - 2;
</font>     for (i = 0 ; i < CALLCHAINSIZE ; i++) {
       mp->callChain[i] = fp[1];
<font color='#880000'>-      nfp = (int *)(fp[0]);
-      if((nfp <= fp) || (nfp > (int *)(INT32_C(0x1000000) /* 1 << 24 */)))
</font><font color='#000088'>+      nfp = (intptr_t *)(fp[0]);
+      if((nfp <= fp) || (nfp > (intptr_t *)(INT32_C(0x1000000) /* 1 << 24 */)))
</font>        break;
       fp = nfp;
     }
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>