Fix some minor type conversion warnings.

This commit is contained in:
Unknown W. Brackets committed 2013-04-19 08:36:32 -07:00
1 parent 13f1acf80e
commit eab2f8dca2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;