We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24d7185 commit 08f5250Copy full SHA for 08f5250
src/ansi-c/c_typecheck_expr.cpp
@@ -2378,7 +2378,7 @@ exprt c_typecheck_baset::do_special_functions(
2378
{
2379
if(
2380
argument.type().id() != ID_pointer ||
2381
- to_pointer_type(argument.type()).subtype().id() != ID_struct_tag)
+ to_pointer_type(argument.type()).base_type().id() != ID_struct_tag)
2382
2383
error().source_location = expr.arguments()[0].source_location();
2384
error() << "is_sentinel_dll_node expects struct-pointer operands"
0 commit comments