Unit test was emitting a warning due to type mismatch of the constant.
Corrected it by explicitly using the proper type.
Change-Id: I58a5aa4bacf551aeebf011069a38f47ed3888814
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1336
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
printf("\n");
while(GetNextQuery(&parseIter))
{
- EXPECT_NE(0, parseIter.pi.segment_length);
+ EXPECT_NE(static_cast<size_t>(0), parseIter.pi.segment_length);
strncpy(attr, (char *)parseIter.attrPos, parseIter.attrLen);
strncpy(val, (char *)parseIter.valPos, parseIter.valLen);