From 4472fbb62b7c12479e8ed1c98e64c98d2852e80f Mon Sep 17 00:00:00 2001 From: Denis Dolzhenko Date: Mon, 12 Sep 2016 10:47:12 +0300 Subject: [PATCH] TizenRefApp-7094 Fixed negative message-id Change-Id: I67ecb947c701ba38442ef8b79274605a1a0dd82b Signed-off-by: Denis Dolzhenko --- src/Common/MsgEngine/inc/MsgTypes.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Common/MsgEngine/inc/MsgTypes.h b/src/Common/MsgEngine/inc/MsgTypes.h index 704b7cdb..295bc81b 100644 --- a/src/Common/MsgEngine/inc/MsgTypes.h +++ b/src/Common/MsgEngine/inc/MsgTypes.h @@ -24,9 +24,9 @@ namespace Msg class BaseMsgId { public: - typedef int Type; + typedef unsigned Type; BaseMsgId() - : value(-1) + : value(0) { } @@ -53,12 +53,12 @@ namespace Msg bool isValid() const { - return value > 0; // TODO: check + return value > 0; } void reset() { - value = -1; + value = 0; } Type value; // implementation -- 2.34.1