Skip to content

Commit c433336

Browse files
authored
Merge pull request #7800 from tautschnig/bugfixes/fpr-unsigned
Fix typo in function-pointer removal
2 parents 822a817 + 3c05f0b commit c433336

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/goto-programs/remove_function_pointers.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ static bool arg_is_type_compatible(
109109

110110
// any integer-vs-enum-vs-pointer is ok
111111
if(
112-
call_type.id() == ID_signedbv || call_type.id() == ID_unsigned ||
112+
call_type.id() == ID_signedbv || call_type.id() == ID_unsignedbv ||
113113
call_type.id() == ID_bool || call_type.id() == ID_c_bool ||
114114
call_type.id() == ID_c_enum_tag || call_type.id() == ID_c_enum ||
115115
call_type.id() == ID_pointer)
116116
{
117117
return function_type.id() == ID_signedbv ||
118-
function_type.id() == ID_unsigned || function_type.id() == ID_bool ||
119-
function_type.id() == ID_c_bool ||
118+
function_type.id() == ID_unsignedbv ||
119+
function_type.id() == ID_bool || function_type.id() == ID_c_bool ||
120120
function_type.id() == ID_pointer ||
121121
function_type.id() == ID_c_enum ||
122122
function_type.id() == ID_c_enum_tag;

0 commit comments

Comments
 (0)