[IOT-2539] Fix format= warining 81/22181/2
authorGeorge Nash <george.nash@intel.com>
Tue, 1 Aug 2017 17:18:56 +0000 (10:18 -0700)
committerRandeep Singh <randeep.s@samsung.com>
Fri, 8 Sep 2017 11:59:22 +0000 (11:59 +0000)
commit0b1e826345144c6cc9cda07105ee52c65367b494
tree60513f7ebcc370b727fe5c21392411f714a21a2e
parent46d576b284dce592e3e513cb6dcb9c5b4f480347
[IOT-2539] Fix format= warining

The sscanf was using %lu flag that is a long unsigned int
while passing in a uint32_t value which is an unsigned int

This changes the flag from %lu to %u to clean the format
warning.

Change-Id: Iba1d10e2b2403fa5adb94650764ee04c290c951b
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21701
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Mats Wichmann <mats@linux.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
(cherry picked from commit a86f7d8c1d6d4516b021a76c7bfd59b16ce3f027)
Reviewed-on: https://gerrit.iotivity.org/gerrit/22181
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/src/rolesresource.c