diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-04-19 19:00:22 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-04-19 19:19:35 -0700 |
commit | cfadba6f2391424431e0f2e08ec9f97336231564 (patch) | |
tree | 7ff911059c36cfa09a512c8484659d46c3bb06c0 /src/sysdep.c | |
parent | f165887819e81013638fa599ecb94ea27c53811f (diff) | |
download | emacs-cfadba6f2391424431e0f2e08ec9f97336231564.tar.gz |
Pacify gcc -std=c99
* src/sysdep.c (system_process_attributes): Use %llu instead of
%Lu for sscanf, as %llu is standard and %Lu is not, and the latter
can provoke warnings if gcc is used pedantically.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r-- | src/sysdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 36636d0ed50..9c1e59c02be 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -3420,7 +3420,7 @@ system_process_attributes (Lisp_Object pid) utime stime cutime cstime priority nice thcount . start vsize rss */ if (q && (sscanf (q + 2, ("%c %d %d %d %d %d %*u %lu %lu %lu %lu " - "%Lu %Lu %Lu %Lu %ld %ld %d %*d %Lu %lu %ld"), + "%llu %llu %llu %llu %ld %ld %d %*d %llu %lu %ld"), &c, &ppid, &pgrp, &sess, &tty, &tpgid, &minflt, &cminflt, &majflt, &cmajflt, &u_time, &s_time, &cutime, &cstime, |