The documentation says a long is 8 bytes long, however sizeof says its 4 bytes..
a long long is 8 bytes, as it stands now.
Datatype error?
(3 posts) (2 voices)-
Posted 4 years ago #
-
oops! you're right. how embarrassing. note that int64 and uint64 were defined correctly in terms of "long long" in libmaple_types.h, so code that relies on those isn't broken.
https://github.com/leaflabs/libmaple/blob/master/libmaple/libmaple_types.h#L37
https://github.com/leaflabs/libmaple/blob/master/libmaple/libmaple_types.h#L42will push a fix to the docs today.
Posted 4 years ago # -
pushed fixes into github and updated the web page; thanks again:
https://github.com/leaflabs/libmaple/commit/5baef825827b38ac4e4ac58acbbad6ab27b34bc3
Posted 4 years ago #
Reply
You must log in to post.