diff --git a/code/MMDPmdParser.h b/code/MMDPmdParser.h index 44b64585a..5439b9043 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); }