ports/comms/lirc/files/patch-daemons_ir__remote.c
Stefan Eßer 2380a3cfc5 Fix build with -fno-common
While here add license and regenerate all patches with make makepatch.
2020-09-21 15:03:43 +00:00

11 lines
429 B
C

--- daemons/ir_remote.c.orig 2011-03-25 22:28:18 UTC
+++ daemons/ir_remote.c
@@ -490,7 +490,7 @@ int write_message(char *buffer, size_t size, const cha
{
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;
}