diff --git a/module/rdpEgl.c b/module/rdpEgl.c index b84f65b..08e4fe9 100644 --- a/module/rdpEgl.c +++ b/module/rdpEgl.c @@ -576,7 +576,7 @@ rdpEglOut(rdpClientCon *clientCon, struct rdp_egl *egl, RegionPtr in_reg, /* resize the crc list */ clientCon->num_rfx_crcs_alloc[mon_index] = num_crcs; free(clientCon->rfx_crcs[mon_index]); - clientCon->rfx_crcs[mon_index] = g_new0(int, num_crcs); + clientCon->rfx_crcs[mon_index] = g_new0(uint64_t, num_crcs); } tile_extents_stride = (tile_extents_rect->x2 - tile_extents_rect->x1) / 64; out_rect_index = 0;