1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Several "low-hanging fruit" Coverity fixes which shouldn't affect behavior

This commit is contained in:
2015-07-12 22:36:46 -07:00
parent b9b02d757c
commit 7cdf7f133a
14 changed files with 34 additions and 36 deletions

View File

@ -2869,7 +2869,7 @@ bool plMaxNode::IGetProjection(plLightInfo* li, plErrorMsg* pErrMsg)
{
char buff[256];
if( projMap && projMap->GetName() && *projMap->GetName() )
sprintf(buff, "Can't find projected bitmap - %s", projMap->GetName());
sprintf(buff, "Can't find projected bitmap - %s", (const char *)projMap->GetName());
else
sprintf(buff, "Can't find projected bitmap - <unknown>");
if( pErrMsg->Set(!(convert.fWarned & plConvert::kWarnedMissingProj), GetName(),