Corrected signed/unsigned integer comparison warnings.
authorOssama Othman <ossama.othman@intel.com>
Mon, 21 Dec 2015 23:56:55 +0000 (15:56 -0800)
committerJon A. Cruz <jonc@osg.samsung.com>
Wed, 13 Jan 2016 07:57:25 +0000 (07:57 +0000)
commit7599cfcf3bf028685bde2a30bb7acd90495fcd9b
treeb1a973c00530c2e536c74f72052f7451b840f4a0
parentade14d09f74200877b990f65e9ebaacec64e0643
Corrected signed/unsigned integer comparison warnings.

The return value of the ftell() function was assigned to an unsigned
integer typed variable and then compared to -1.  Since ftell() actually
returns a 'long' assign to a 'long' instead.  This addresses
signed/unsigned integer comparison warnings.

Change-Id: I990e891ee2ad1f81cd0721ad82646fcf2e79d2b0
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4689
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
resource/csdk/connectivity/samples/android/casample/sampleService/src/main/jni/ResourceModel.c
resource/csdk/connectivity/samples/linux/sample_main.c