Fixed issue in PlyParser (uint16 values misparsed)

pull/669/head
Sebastien Bonopera 2015-10-12 20:08:25 +02:00
parent eb01a1ebdf
commit 62ec784cef
1 changed files with 1 additions and 1 deletions

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);