+2014-07-01 Chen Gang <gang.chen.5i5j@gmail.com>
+
+ * sim/microblaze/interp.c: Use long int format instead of int
+ format to avoid compiling warnings.
+
2014-03-12 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add myself as the maintainer for the MSP430.
if (len > (int) sizeof (unsigned long))
printf ("That operation is not available on integers of more than "
- "%d bytes.", sizeof (unsigned long));
+ "%ld bytes.", sizeof (unsigned long));
/* Start at the most significant end of the integer, and work towards
the least significant. */
{
if (issue_messages)
fprintf (stderr,
- "Not enough VM for simulation of %d bytes of RAM\n",
+ "Not enough VM for simulation of %ld bytes of RAM\n",
CPU.msize);
CPU.msize = 1;
memsize = CPU.msize / (1024 * 1024);
if (issue_messages > 1)
- fprintf (stderr, "Simulated memory of %d Mbytes (0x0 .. 0x%08x)\n",
+ fprintf (stderr, "Simulated memory of %ld Mbytes (0x0 .. 0x%08lx)\n",
memsize, CPU.msize - 1);
/* Clean out the GPRs */