aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpolymesh.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/newview/llpolymesh.cpp
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/newview/llpolymesh.cpp')
-rw-r--r--linden/indra/newview/llpolymesh.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/newview/llpolymesh.cpp b/linden/indra/newview/llpolymesh.cpp
index 1edb8f5..6cc3fc7 100644
--- a/linden/indra/newview/llpolymesh.cpp
+++ b/linden/indra/newview/llpolymesh.cpp
@@ -278,7 +278,10 @@ BOOL LLPolyMeshSharedData::loadMesh( const char *fileName )
278 // Read a chunk 278 // Read a chunk
279 //------------------------------------------------------------------------- 279 //-------------------------------------------------------------------------
280 char header[128]; /*Flawfinder: ignore*/ 280 char header[128]; /*Flawfinder: ignore*/
281 fread(header, sizeof(char), 128, fp); 281 if (fread(header, sizeof(char), 128, fp) != 128)
282 {
283 llwarns << "Short read" << llendl;
284 }
282 285
283 //------------------------------------------------------------------------- 286 //-------------------------------------------------------------------------
284 // Check for proper binary header 287 // Check for proper binary header