]> OCCT Git - occt-copy.git/commit
0031048: Visualization - runtime error reported by Clang undefined behavior sanitizer...
authorkgv <kgv@opencascade.com>
Fri, 11 Oct 2019 11:56:03 +0000 (14:56 +0300)
committerkgv <kgv@opencascade.com>
Sat, 19 Oct 2019 12:52:23 +0000 (15:52 +0300)
commite81e69db03ab8f5463e0a3d1e253346558ae1534
tree64cd99ff3ecfb3dc577161390c1cff832145e6e1
parent3b5861b178fbaf4c25bac8595aba188da369e661
0031048: Visualization - runtime error reported by Clang undefined behavior sanitizer in Image_AlienPixMap::Save()

Image_PixMapData - use unsigned math (uintptr_t) instead of signed math with pointers for defining negative stride.
src/Image/Image_PixMapData.hxx