GCC compile fixes under Kubuntu 15.10

This commit is contained in:
Robert Beckebans 2016-07-03 22:51:11 +02:00
parent 8a99249cfd
commit 3d75dbcb4a
4 changed files with 9 additions and 84 deletions

View file

@ -453,7 +453,7 @@ void idSWFSprite::ReadJSON( rapidjson::Value& entry )
idFile_SWF file( new idFile_Memory() );
idBase64 base64 = command["stream"].GetString();
idBase64 base64( command["stream"].GetString() );
base64.Decode( file );
uint32 streamLength = file->Length() - 1; // skip trailing zero added by Decode()