mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[various] fix integer conversions
This commit is contained in:
@@ -356,8 +356,9 @@ static BOOL rdtk_nine_patch_get_fill_ht(rdtkNinePatch* ninePatch, wImage* image)
|
||||
|
||||
for (uint32_t y = 1; y < image->height - 1; y++)
|
||||
{
|
||||
const uint32_t* pixel = (uint32_t*)&image->data[((image->width - 1) * sizeof(uint32_t)) +
|
||||
image->scanline * y]; /* (width - 1, 1) */
|
||||
const uint32_t* pixel =
|
||||
(uint32_t*)&image->data[((image->width - 1) * sizeof(uint32_t)) +
|
||||
image->scanline * y * 1ull]; /* (width - 1, 1) */
|
||||
if (beg < 0)
|
||||
{
|
||||
if (*pixel)
|
||||
|
||||
Reference in New Issue
Block a user