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

2024-08-15 Thread Pierrick Bouvier
On 8/15/24 10:40, Pierrick Bouvier wrote: On 8/15/24 05:03, Alex Bennée wrote: Thomas Huth writes: On 15/08/2024 01.36, Pierrick Bouvier wrote: Found on debian stable (i386). ../contrib/plugins/hwprofile.c: In function 'new_location': ../contrib/plugins/hwprofile.c:172:32: error: cast to poi

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

2024-08-15 Thread Pierrick Bouvier
On 8/15/24 05:03, Alex Bennée wrote: Thomas Huth writes: On 15/08/2024 01.36, Pierrick Bouvier wrote: Found on debian stable (i386). ../contrib/plugins/hwprofile.c: In function 'new_location': ../contrib/plugins/hwprofile.c:172:32: error: cast to pointer from integer of different size [-Werr

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

2024-08-15 Thread Alex Bennée
Thomas Huth writes: > On 15/08/2024 01.36, Pierrick Bouvier wrote: >> Found on debian stable (i386). >> ../contrib/plugins/hwprofile.c: In function 'new_location': >> ../contrib/plugins/hwprofile.c:172:32: error: cast to pointer from integer >> of different size [-Werror=int-to-pointer-cast] >>

Re: [PATCH 3/6] contrib/plugins/hwprofile: 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/hwprofile.c: In function 'new_location': ../contrib/plugins/hwprofile.c:172:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 172 | g_hash_table_insert(tab

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

2024-08-14 Thread Pierrick Bouvier
Found on debian stable (i386). ../contrib/plugins/hwprofile.c: In function 'new_location': ../contrib/plugins/hwprofile.c:172:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 172 | g_hash_table_insert(table, (gpointer) off_or_pc, loc); |