aboutsummaryrefslogtreecommitdiff
path: root/comms/lirc/files/patch-daemons__ir_remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/lirc/files/patch-daemons__ir_remote.c')
-rw-r--r--comms/lirc/files/patch-daemons__ir_remote.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/lirc/files/patch-daemons__ir_remote.c b/comms/lirc/files/patch-daemons__ir_remote.c
new file mode 100644
index 000000000000..bc587b5a229f
--- /dev/null
+++ b/comms/lirc/files/patch-daemons__ir_remote.c
@@ -0,0 +1,11 @@
+--- daemons/ir_remote.c.orig
++++ daemons/ir_remote.c
+@@ -490,7 +490,7 @@ int write_message(char *buffer, size_t s
+ {
+ int len;
+
+- len = snprintf(buffer, size, "%016llx %02x %s%s %s\n", code, reps, button_name, button_suffix, remote_name);
++ len = snprintf(buffer, size, "%016llx %02x %s%s %s\n", (unsigned long long)code, reps, button_name, button_suffix, remote_name);
+
+ return len;
+ }