provisioning: Fix type mismatch for sessionObject.expiresin
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 21 Sep 2016 09:10:16 +0000 (11:10 +0200)
committerHabib Virji <habib.virji@samsung.com>
Thu, 22 Sep 2016 09:34:09 +0000 (09:34 +0000)
Failure to build was observed on Tizen:Common (armv7l):

  cloudAuth.cpp:127:59: error: cannot convert 'long int*' to 'int64_t* \
  {aka long long int*}' for argument '3' to \
  'bool OCRepPayloadGetPropInt(const OCRepPayload*, const char*, int64_t*)'

Change-Id: I3feaea196d91e22d29cc0a2b1d5fc859ecb6ea6c
Origin: https://gerrit.iotivity.org/gerrit/#/c/12049/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12049
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
resource/provisioning/examples/cloudAuth.cpp

index 3699aec..cd9313d 100644 (file)
@@ -47,7 +47,7 @@ typedef struct
     char *accesstoken;
     char *refreshtoken;
     char *tokentype;
-    long  expiresin;
+    int64_t expiresin;
     char *uid;
     char *redirecturi;
     char *certificate;