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

Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers

This commit is contained in:
2012-11-11 22:34:05 -08:00
parent 6d4726c766
commit 40d5e2e867
16 changed files with 17 additions and 11 deletions

View File

@ -369,7 +369,7 @@ int plMsgCStringHelper::Poke(const char * str, hsStream* stream, const uint32_t
{
plMessage::plStrLen len = (str) ? strlen(str) : 0;
stream->WriteLE(len);
if (strlen)
if (len)
stream->Write(len,str);
return stream->GetPosition();
}