[opensource-dev] Question about BUG-41029 and 64 bit usage
Callum Prentice (Callum)
callum at lindenlab.com
Thu Dec 15 11:13:35 PST 2016
https://jira.secondlife.com/browse/BUG-41029
I'm taking a look at https://jira.secondlife.com/browse/BUG-41029 and
whilst it seems straightforward, it seems to be unraveling into something
that touches dozens of files and I wondered if someone had done this work
already.
There is a lot usage of 32 bit types (U32Bytes, U32Megabytes etc.) defined
indirectly here:
https://bitbucket.org/lindenlab/viewer64/src/9270caf3d4324f9c1c33aa158f80e0fe84036a48/indra/llcommon/llunittype.h?at=default&fileviewer=file-view-default#llunittype.h-824
that are used to count memory sizes/usage/difference etc. I think we can
convert them to their U64 equivalents for all viewers.
Nat points out, rewriting this code using size_t as a return type would
make more sense but that seems like it would involve more invasive code
changes including changes in fundamental LL headers.
What does the collective wisdom say?
--
CALLUM PRENTICE | Software Engineer
LINDEN LAB | Create Virtual Experiences <http://www.lindenlab.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20161215/26d88d9b/attachment.htm
More information about the opensource-dev
mailing list