mirror of
https://github.com/glest/glest-source.git
synced 2025-09-28 00:19:00 +02:00
- cleaned up some warnings from VC++ compiler
This commit is contained in:
@@ -121,13 +121,13 @@ void WavSoundFileLoader::open(const string &path, SoundInfo *soundInfo){
|
||||
throw megaglest_runtime_error("Error reading samples: "+ path);
|
||||
}
|
||||
|
||||
dataOffset= f.tellg();
|
||||
dataOffset= (uint32)f.tellg();
|
||||
|
||||
}
|
||||
|
||||
uint32 WavSoundFileLoader::read(int8 *samples, uint32 size){
|
||||
f.read(reinterpret_cast<char*> (samples), size);
|
||||
return f.gcount();
|
||||
return (uint32)f.gcount();
|
||||
}
|
||||
|
||||
void WavSoundFileLoader::close(){
|
||||
|
Reference in New Issue
Block a user