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:
@@ -366,7 +366,7 @@ static BOOL test_peer_load_icon(freerdp_peer* client)
|
||||
if (!(context->bg_data = calloc(context->icon_height, context->icon_width * 3)))
|
||||
goto out_fail;
|
||||
|
||||
memset(context->bg_data, 0xA0, context->icon_width * context->icon_height * 3);
|
||||
memset(context->bg_data, 0xA0, context->icon_width * context->icon_height * 3ull);
|
||||
context->icon_data = rgb_data;
|
||||
fclose(fp);
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user