ProcessController: gcc2 build fix

This commit is contained in:
Adrien Destugues 2021-01-10 16:20:06 +01:00
parent 98791e6d67
commit f377a91a31

View File

@ -141,7 +141,7 @@ instantiate_deskbar_item(float maxWidth, float maxHeight)
// Damn, you got a lot of CPU
if (width > maxWidth)
width = maxWidth;
width = (int)maxWidth;
return new ProcessController(width - 1, maxHeight - 1);
}