1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/comms/lirc/files/patch-daemons::ir_remote.c
Juergen Lock 89b53c9312 - Update to 0.9.0 .
- Add devinput driver (/dev/input/eventX, -H devinput) in preparation
  for upcoming webcamd update that will support it.
- Fix build with clang, and a few bugs it found too.
2011-06-28 18:12:32 +00:00

12 lines
391 B
C

--- 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;
}