mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
89b53c9312
- 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.
12 lines
391 B
C
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;
|
|
}
|