]> git.eshelyaron.com Git - emacs.git/commitdiff
(list_processes_1): Cast XFASTINT for passing to sprintf.
authorRichard M. Stallman <rms@gnu.org>
Fri, 5 May 1995 02:16:54 +0000 (02:16 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 5 May 1995 02:16:54 +0000 (02:16 +0000)
src/process.c

index 14fa3144339c5ee62e73d69a5226b1f4338fcc59..f02e6a2071af89e485235d7adb8b764394a5c71b 100644 (file)
@@ -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);
            }
        }