work around "cast specifies signature type" from gcc2

...when build by gcc6 or 7 on my Debian Sid.
This commit is contained in:
François Revol 2017-11-20 17:04:35 +01:00
parent 2dce5eecef
commit 7c7390c719

View File

@ -275,6 +275,6 @@ get_attribute_form_name(uint32 form)
DebugInfoEntrySetter
get_attribute_name_setter(uint32 name)
{
return name < kAttributeNameInfoCount
return (name < kAttributeNameInfoCount)
? sAttributeNameInfos[name].setter : NULL;
}