mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix some minor type conversion warnings.
This commit is contained in:
parent
13f1acf80e
commit
eab2f8dca2
2 changed files with 2 additions and 2 deletions
|
@ -681,7 +681,7 @@ void SystemScreen::render() {
|
|||
|
||||
VGrid vlang(530, 100, dp_yres - 50, 10, 10);
|
||||
|
||||
for (int i = 0; i < langs_.size(); i++) {
|
||||
for (size_t i = 0; i < langs_.size(); i++) {
|
||||
std::string code;
|
||||
size_t dot = langs_[i].name.find('.');
|
||||
if (dot != std::string::npos)
|
||||
|
|
|
@ -881,7 +881,7 @@ namespace MainWindow
|
|||
return FALSE;
|
||||
int width, height;
|
||||
unsigned char *image_data = 0;
|
||||
bool bResult = pngLoadPtr(lpRsrc, dwlen, &width, &height, &image_data, false);
|
||||
bool bResult = pngLoadPtr(lpRsrc, dwlen, &width, &height, &image_data, false) != 0;
|
||||
FreeResource(lpRsrc);
|
||||
if (!bResult)
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue