summaryrefslogtreecommitdiff
path: root/indra/newview/llpolymesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpolymesh.cpp')
-rw-r--r--indra/newview/llpolymesh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpolymesh.cpp b/indra/newview/llpolymesh.cpp
index 4c4c15a9e2..c49fee6d4a 100644
--- a/indra/newview/llpolymesh.cpp
+++ b/indra/newview/llpolymesh.cpp
@@ -321,7 +321,7 @@ BOOL LLPolyMeshSharedData::loadMesh( const char *fileName )
}
U8 rotationOrder;
- numRead = fread(&rotationOrder, 1, 1, fp);
+ numRead = fread(&rotationOrder, sizeof(U8), 1, fp);
if (numRead != 1)
{