Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

CBOR_Peek size argument inconsistent with other CBOR functions #96

Open
malsbat opened this issue May 15, 2019 · 0 comments
Open

CBOR_Peek size argument inconsistent with other CBOR functions #96

malsbat opened this issue May 15, 2019 · 0 comments

Comments

@malsbat
Copy link
Contributor

malsbat commented May 15, 2019

CBOR_Peek takes a uint64_t as the size argument, but CBOR_DecodeArray (and others) take a size_t.

This is an issue on 32-bit platforms (such as RaspberryPi) where size_t and uint64_t are different sizes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant