Re: [PATCH 4/6] contrib/plugins/hotblocks: fix warning when compiling on 32bits host

2024-08-15 Thread Thomas Huth
On 15/08/2024 01.36, Pierrick Bouvier wrote: Found on debian stable (i386). ../contrib/plugins/hotblocks.c: In function 'vcpu_tb_trans': ../contrib/plugins/hotblocks.c:117:56: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 117 | cnt = (ExecCount *) g_

[PATCH 4/6] contrib/plugins/hotblocks: fix warning when compiling on 32bits host

2024-08-14 Thread Pierrick Bouvier
Found on debian stable (i386). ../contrib/plugins/hotblocks.c: In function 'vcpu_tb_trans': ../contrib/plugins/hotblocks.c:117:56: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 117 | cnt = (ExecCount *) g_hash_table_lookup(hotblocks, (gconstpointer) ha