Fix for result of static analysis.
authorKIM JungYong <jyong2.kim@samsung.com>
Fri, 9 Sep 2016 04:21:04 +0000 (13:21 +0900)
committerUze Choi <uzchoi@samsung.com>
Mon, 12 Sep 2016 01:50:11 +0000 (01:50 +0000)
commit3ff9df7ce667910ad3f12953274d0236a0f39183
treeb8822d064f7c4580ecf151c1e0bef0ddd3d911bc
parent6975806a2f5e2b32e82f1392e14f5d16b6e68c7d
Fix for result of static analysis.

Pointer value casting is fixed for valid size.
If statement is fixed.

Change-Id: I4e6304769c683f78caca8eea4f4dc1da5c369a59
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11619
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
service/notification/src/consumer/NSConsumerDiscovery.c
service/notification/unittest/NSProviderSimulator.h