From 6c526d7c645416cf294f2572d79b31242624956c Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Fri, 28 Jul 2017 22:23:08 +0200 Subject: [PATCH] PPdPmdParser: fix compilation for clang. --- code/MMDPmdParser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/MMDPmdParser.h b/code/MMDPmdParser.h index 44b6458..5439b90 100644 --- a/code/MMDPmdParser.h +++ b/code/MMDPmdParser.h @@ -158,7 +158,7 @@ namespace pmd sphere_filename.clear(); } else { - *pstar = (char)NULL; + *pstar = 0; texture_filename = std::string(buffer); sphere_filename = std::string(pstar+1); } -- 2.7.4