projects
/
profile
/
mobile
/
apps
/
native
/
message.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c17e02
)
TizenRefApp-7094 Fixed negative message-id
35/87935/4
author
Denis Dolzhenko
<d.dolzhenko@samsung.com>
Mon, 12 Sep 2016 07:47:12 +0000
(10:47 +0300)
committer
Dmytro Dragan
<dm.dragan@samsung.com>
Mon, 12 Sep 2016 09:15:54 +0000
(
02:15
-0700)
Change-Id: I67ecb947c701ba38442ef8b79274605a1a0dd82b
Signed-off-by: Denis Dolzhenko <d.dolzhenko@samsung.com>
src/Common/MsgEngine/inc/MsgTypes.h
patch
|
blob
|
history
diff --git
a/src/Common/MsgEngine/inc/MsgTypes.h
b/src/Common/MsgEngine/inc/MsgTypes.h
index 704b7cdb4b7dc4f6e0e788f05f43063383f86d16..295bc81b0b2dd0027fc867c5d957ab426f4130df 100644
(file)
--- 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