summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdrian Robert <Adrian.B.Robert@gmail.com>2009-10-13 01:03:46 +0000
committerAdrian Robert <Adrian.B.Robert@gmail.com>2009-10-13 01:03:46 +0000
commitc208557ad2ba350c6829ad3ced617e15d5daae13 (patch)
treeffd2be57b0a0811409c8b12b5fd415216ae38b18 /src
parent12d0a6b3adf3d84e8517fe009e8b07c364b5962f (diff)
downloademacs-c208557ad2ba350c6829ad3ced617e15d5daae13.tar.gz
(list_processes_1): Use long format in printf, and cast argument.
Diffstat (limited to 'src')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index e65d495e260..99f57d35d4a 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1522,7 +1522,7 @@ list_processes_1 (query_only)
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");