PPdPmdParser: fix compilation for clang.

pull/1366/head
Kim Kulling 2017-07-28 22:23:08 +02:00
parent d052b74b96
commit 6c526d7c64
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}