summaryrefslogtreecommitdiffstats
path: root/patches/systemd-20/0002-limited-datatype.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/systemd-20/0002-limited-datatype.patch')
-rw-r--r--patches/systemd-20/0002-limited-datatype.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/systemd-20/0002-limited-datatype.patch b/patches/systemd-20/0002-limited-datatype.patch
new file mode 100644
index 000000000..5ec8bc06d
--- /dev/null
+++ b/patches/systemd-20/0002-limited-datatype.patch
@@ -0,0 +1,19 @@
+src/manager.c:144: warning: comparison is always false due to limited range of data type [-Wtype-limits]
+
+---
+ src/manager.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: systemd-13/src/manager.c
+===================================================================
+--- systemd-13.orig/src/manager.c
++++ systemd-13/src/manager.c
+@@ -126,7 +126,7 @@ static int manager_setup_notify(Manager
+ }
+
+ static int enable_special_signals(Manager *m) {
+- char fd;
++ int fd;
+
+ assert(m);
+