# HG changeset patch # User Adrian Robert # Date 1255395826 0 # Node ID d6307924111b49aeed8896333019dc7d6de00559 # Parent 9e1a1361da63635554677285bacecfb3ca5fc9f2 (list_processes_1): Use long format in printf, and cast argument. diff -r 9e1a1361da63 -r d6307924111b src/process.c --- a/src/process.c Tue Oct 13 01:03:38 2009 +0000 +++ b/src/process.c Tue Oct 13 01:03:46 2009 +0000 @@ -1522,7 +1522,7 @@ insert_string ("?"); if (INTEGERP (speed)) { - sprintf (tembuf, " at %d b/s", XINT (speed)); + sprintf (tembuf, " at %ld b/s", (long) XINT (speed)); insert_string (tembuf); } insert_string (")\n");