mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Compile fix for linux
This commit is contained in:
@@ -493,7 +493,7 @@ void MiniQtHelper::SetLabelImage(QWidget *widget, const bytebuf &data, int32_t w
|
||||
QPixmap pixmap;
|
||||
|
||||
int32_t bpp = alpha ? 4 : 3;
|
||||
if(width > 0 && height > 0 && width * height * bpp == data.size())
|
||||
if(width > 0 && height > 0 && size_t(width * height * bpp) == data.size())
|
||||
{
|
||||
label->setFixedSize(width, height);
|
||||
label->setPixmap(
|
||||
|
||||
Reference in New Issue
Block a user