Merge pull request #669 from Schebb/master

Fixed issue in PlyParser (uint16 values misparsed)
pull/670/head
Alexander Gessler 2015-10-12 20:57:17 +02:00
commit f489a7d076
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);