[sldev] [HELP] Compiling Snowglobe

Tofu Linden tofu.linden at lindenlab.com
Mon Jul 27 05:20:26 PDT 2009


Sharven Raabe wrote:
> The call looks like this:
> // default to 0s.
> U32 size = mvci.getSize();
> std::vector<U8> data(size);
> memset(&(data[0]), 0, size);

How curious.  I wonder if its problem is not quite what it's complaining
about - could you try changing 'U32' to 'size_t'?

Thanks.


More information about the SLDev mailing list