Re: [PATCH 1/2] di-set: port better to CHERI-64

2023-11-11 Thread Bruno Haible
Paul Eggert wrote: > (hashint): Make it uintptr_t, not size_t, since it’s for use > when converting to pointer and back again. This suppresses > a false positive on CHERI-64. Nice! I looked into this one just yesterday, but did not know how to deal with it. Bruno

[PATCH 1/2] di-set: port better to CHERI-64

2023-11-11 Thread Paul Eggert
* lib/di-set.c: Include stdint.h. (hashint): Make it uintptr_t, not size_t, since it’s for use when converting to pointer and back again. This suppresses a false positive on CHERI-64. * modules/di-set (Depends-on): Add stdint. --- ChangeLog | 7 +++ lib/di-set.c | 3 ++-