Fix build with TinyCBOR from the dev branch: stop using internal API
authorThiago Macieira <thiago.macieira@intel.com>
Sun, 31 Jul 2016 06:15:48 +0000 (23:15 -0700)
committerHabib Virji <habib.virji@samsung.com>
Tue, 23 Aug 2016 15:41:26 +0000 (15:41 +0000)
commit3041fae14b358c51873b08967dc868080f47d819
tree8c6e3b92d4578c68ae1a52af4a26b26f73fa4695
parentb9e04b058dcffd656fab282b5fed725ee555a38b
Fix build with TinyCBOR from the dev branch: stop using internal API

Using the CborEncoder "ptr" member is deprecated. TinyCBOR 0.3
introduced two functions that replace the uses we had here. TinyCBOR 0.4
will rename those members.

Change-Id: I0031aa609e714ae983c3fffd14664c21b9460423
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9867
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Reviewed-by: David Antler <david.a.antler@intel.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
resource/csdk/stack/src/ocpayloadconvert.c