summaryrefslogtreecommitdiff
path: root/src/login/logind-dbus.c
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2022-08-29 13:36:19 +0200
committerJan Janssen <medhefgo@web.de>2022-08-30 12:03:33 +0200
commit63b98386392d2b1e686523e75d46a11facd8cb70 (patch)
treee4f9314bed21b208477a92723c59b132ea0a3768 /src/login/logind-dbus.c
parent1dbab956ba67150b150fc414e4d49d74fa12286e (diff)
downloadsystemd-63b98386392d2b1e686523e75d46a11facd8cb70.tar.gz
tree-wide: Mark some constants as unsigned
All these are really unsigned and used as such. This silences some -Wformat-signedness warnings with gcc.
Diffstat (limited to 'src/login/logind-dbus.c')
-rw-r--r--src/login/logind-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 4f72574318..8119970209 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -65,7 +65,7 @@
* to store arbitrary amounts either. As we are not stingy here, we
* allow 4k.
*/
-#define WALL_MESSAGE_MAX 4096
+#define WALL_MESSAGE_MAX 4096U
#define SHUTDOWN_SCHEDULE_FILE "/run/systemd/shutdown/scheduled"