From 1592a182106df9bda08cedf5f66c5740acaeb0fa Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Fri, 25 Mar 2016 00:09:56 +0100 Subject: [PATCH] PLYLoader: fix review comments. --- code/PlyLoader.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/PlyLoader.cpp b/code/PlyLoader.cpp index 15e20b2c4..4e6ea8137 100644 --- a/code/PlyLoader.cpp +++ b/code/PlyLoader.cpp @@ -123,7 +123,9 @@ const aiImporterDesc* PLYImporter::GetInfo () const } // ------------------------------------------------------------------------------------------------ -static bool isBigEndian( char* szMe ) { +static bool isBigEndian( const char* szMe ) { + ai_assert( NULL != szMe ); + // binary_little_endian // binary_big_endian bool isBigEndian( false );