1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-21 05:21:37 -07:00

; * src/igc.c (weak_hash_table_entry): Avoid compiler warning.

This commit is contained in:
Eli Zaretskii 2024-12-26 19:20:30 +02:00
parent 14a9836bf0
commit eedd4b7427

View file

@ -4108,12 +4108,12 @@ weak_hash_table_entry (struct Lisp_Weak_Hash_Table_Entry entry)
if (alignment == 0)
{
client = (mps_addr_t)entry.intptr;
client = (mps_addr_t)(uintptr_t)entry.intptr;
}
else
{
EMACS_UINT real_ptr = entry.intptr ^ alignment;
client = (mps_addr_t)real_ptr;
client = (mps_addr_t)(uintptr_t)real_ptr;
}
switch (XFIXNUM (entry.fixnum))