Fix a type conversion warning.

This commit is contained in:
Unknown W. Brackets 2014-08-30 22:06:38 -07:00
parent 514772e18e
commit de0a914d3b

View File

@ -609,7 +609,7 @@ again:
void GameInfoCache::SetupTexture(GameInfo *info, std::string &textureData, Thin3DContext *thin3d, Thin3DTexture *&tex, double &loadTime) {
if (textureData.size()) {
if (!tex) {
tex = thin3d->CreateTextureFromFileData(textureData.data(), textureData.size(), T3DFileType::PNG);
tex = thin3d->CreateTextureFromFileData(textureData.data(), (int)textureData.size(), T3DFileType::PNG);
if (tex) {
loadTime = time_now_d();
} else {