[IOT-2539] Clean sign-compare warning
authorGeorge Nash <george.nash@intel.com>
Mon, 31 Jul 2017 21:04:09 +0000 (14:04 -0700)
committerRandeep Singh <randeep.s@samsung.com>
Thu, 7 Sep 2017 07:03:34 +0000 (07:03 +0000)
commitfd5886ac1aa79258f73f2adcafa9509cb1e3780e
tree4ed040809d55fcbd0f0887f25a13e10495c1f41f
parentde7f44d3cda70aabb2232b901b9bb48b22987e95
[IOT-2539] Clean sign-compare warning

Use type casting to prevent the sign-compare warning
from occertutility.c code.

Bug: https://jira.iotivity.org/browse/IOT-2539
Change-Id: Ief40445dbb6445de246e9004aa42f4892a431d74
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21687
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
(cherry picked from commit f3bd98df774da69d6d2b0b869bacea3f2c693e71)
Reviewed-on: https://gerrit.iotivity.org/gerrit/22209
Reviewed-by: Mats Wichmann <mats@linux.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
resource/csdk/security/src/occertutility.c