From 24c9e457890fc3d733dbd28029967b1bc0d2569e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 20 Jan 2015 14:56:18 +0100 Subject: Fixed "warning: invalid suffix on literal" with GCC 4.8 and C++11 --- remote.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote.c') diff --git a/remote.c b/remote.c index 5cb2ccb8..ac10dce7 100644 --- a/remote.c +++ b/remote.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remote.c 3.2 2014/02/15 12:40:39 kls Exp $ + * $Id: remote.c 3.3 2015/01/20 14:53:57 kls Exp $ */ #include "remote.h" @@ -124,7 +124,7 @@ bool cRemote::PutMacro(eKeys Key) bool cRemote::Put(uint64_t Code, bool Repeat, bool Release) { char buffer[32]; - snprintf(buffer, sizeof(buffer), "%016"PRIX64, Code); + snprintf(buffer, sizeof(buffer), "%016" PRIX64, Code); return Put(buffer, Repeat, Release); } -- cgit v1.2.3