From ca98195b98cce234403afb5ac15439a89a928f7d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 24 Jul 2017 03:27:25 +0200 Subject: tracker/hatire: fix truncation warning only --- tracker-hatire/ftnoir_tracker_hat.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tracker-hatire/ftnoir_tracker_hat.cpp b/tracker-hatire/ftnoir_tracker_hat.cpp index 30f40e60..ca28ae84 100644 --- a/tracker-hatire/ftnoir_tracker_hat.cpp +++ b/tracker-hatire/ftnoir_tracker_hat.cpp @@ -21,10 +21,10 @@ hatire::hatire() HAT.Trans[1]=0; HAT.Trans[2]=0; - Begin.append((char) 0xAA); - Begin.append((char) 0xAA); - End.append((char) 0x55); - End.append((char) 0x55); + Begin.append((unsigned char) 0xAA); + Begin.append((unsigned char) 0xAA); + End.append((unsigned char) 0x55); + End.append((unsigned char) 0x55); } hatire::~hatire() -- cgit v1.2.3