MixedRealityToolkit icon indicating copy to clipboard operation
MixedRealityToolkit copied to clipboard

SpatialUnderstanding truncates pointers in x64

Open jwittner opened this issue 9 years ago • 4 comments

I get these warnings which scare me when building for x64:

1>PlaySpace\PlaySpaceInfos_W.cpp(3682): warning C4311: 'type cast': pointer truncation from 'U8 *' to 'U32'
1>PlaySpace\PlaySpaceInfos_W.cpp(3682): warning C4302: 'type cast': truncation from 'U8 *' to 'U32'

jwittner avatar Sep 22 '16 20:09 jwittner

@jevertt Seem dangerous to you?

jwittner avatar Sep 22 '16 21:09 jwittner

It's not ideal - this was developed targeting a specific platform. Would be nice to find a cleaner way to do this.

jevertt avatar Sep 23 '16 15:09 jevertt

Perhaps we can drop the other platforms from the solution so that it's clear what platforms SpatialUnderstanding supports?

jwittner avatar Sep 23 '16 20:09 jwittner

Sure - that sounds reasonable.

jevertt avatar Sep 26 '16 15:09 jevertt