summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-05-05 02:16:54 +0000
committerRichard M. Stallman <rms@gnu.org>1995-05-05 02:16:54 +0000
commit3162bafa9e6e2fb9cefc5ea9fc6a2b8928f02e97 (patch)
treecf600df4e86048e4f6bc2b2cbab157fa62ddba87 /src
parentf49deb4fff44d78b6db92491aae3af46e68a77e6 (diff)
downloademacs-3162bafa9e6e2fb9cefc5ea9fc6a2b8928f02e97.tar.gz
(list_processes_1): Cast XFASTINT for passing to sprintf.
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 14fa3144339..f02e6a2071a 100644
--- a/src/process.c
+++ b/src/process.c
@@ -923,7 +923,7 @@ Proc Status Buffer Tty Command\n\
tem = Fcar (Fcdr (p->status));
if (XFASTINT (tem))
{
- sprintf (tembuf, " %d", XFASTINT (tem));
+ sprintf (tembuf, " %d", (int) XFASTINT (tem));
write_string (tembuf, -1);
}
}