Fixed issue in PlyParser (uint16 values misparsed)

This commit is contained in:
Sebastien Bonopera
2015-10-12 20:08:25 +02:00
parent eb01a1ebdf
commit 62ec784cef

View File

@@ -857,7 +857,7 @@ bool PLY::PropertyInstance::ParseValueBinary(
case EDT_UShort:
{
int16_t i = *((uint16_t*)pCur);
uint16_t i = *((uint16_t*)pCur);
// Swap endianess
if (p_bBE)ByteSwap::Swap(&i);