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
commit1395f3aca822ce0639d842a2ef394246dab2856a (patch)
treea3e69c00ad5d6bd4b466dd643cece972f895a634 /src
parent8ddf3f3a2bedfaeb13981b2616ad3a5b4936fcbb (diff)
downloademacs-1395f3aca822ce0639d842a2ef394246dab2856a.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);
}
}