Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /daemons/ir_remote.c [02c5c3] .. [9592bb] Maximize Restore

  Switch to side-by-side view

--- a/daemons/ir_remote.c
+++ b/daemons/ir_remote.c
@@ -490,7 +490,8 @@
 {
 	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;
 }