changeset 105577:d6307924111b

(list_processes_1): Use long format in printf, and cast argument.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Tue, 13 Oct 2009 01:03:46 +0000
parents 9e1a1361da63
children ee550fc6aab5
files src/process.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");