X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=extlibs%2Ftinycbor%2Ftinycbor%2Fsrc%2Fcborencoder_close_container_checked.c;h=cad833580f50bdef96171ef879f227f5311214e2;hb=3c093548382bb2542c87a67e6e5fa32552c29cb3;hp=9a1f549bdbf13dfa9558aa9ebc7249ca133ad996;hpb=edcfc3d2329da7b914771c0dcff5f42c9b74fd93;p=platform%2Fupstream%2Fiotivity.git diff --git a/extlibs/tinycbor/tinycbor/src/cborencoder_close_container_checked.c b/extlibs/tinycbor/tinycbor/src/cborencoder_close_container_checked.c index 9a1f549..cad8335 100644 --- a/extlibs/tinycbor/tinycbor/src/cborencoder_close_container_checked.c +++ b/extlibs/tinycbor/tinycbor/src/cborencoder_close_container_checked.c @@ -59,14 +59,14 @@ */ CborError cbor_encoder_close_container_checked(CborEncoder *encoder, const CborEncoder *containerEncoder) { - const uint8_t *ptr = encoder->data.ptr; + const uint8_t *ptr = encoder->ptr; CborError err = cbor_encoder_close_container(encoder, containerEncoder); if (containerEncoder->flags & CborIteratorFlag_UnknownLength || encoder->end == NULL) return err; /* check what the original length was */ uint64_t actually_added; - err = extract_number(&ptr, encoder->data.ptr, &actually_added); + err = extract_number(&ptr, encoder->ptr, &actually_added); if (err) return err;