* src/tools/apinames.c (names_add): Remove unrequired cast of

`nm->hash` to int, which has been unrequired since eba2781a.

Fixes issue #1361.
This commit is contained in:
suzuki toshiya
2025-11-05 19:44:25 +09:00
parent 184910dbef
commit c97efd28ca

View File

@@ -101,7 +101,7 @@ names_add( const char* name,
{
nm = the_names + nn;
if ( (int)nm->hash == h &&
if ( nm->hash == h &&
memcmp( name, nm->name, len ) == 0 &&
nm->name[len] == 0 )
return;