Skip to content

Commit 08f5250

Browse files
committed
fx sentinel_dll
1 parent 24d7185 commit 08f5250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansi-c/c_typecheck_expr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2378,7 +2378,7 @@ exprt c_typecheck_baset::do_special_functions(
23782378
{
23792379
if(
23802380
argument.type().id() != ID_pointer ||
2381-
to_pointer_type(argument.type()).subtype().id() != ID_struct_tag)
2381+
to_pointer_type(argument.type()).base_type().id() != ID_struct_tag)
23822382
{
23832383
error().source_location = expr.arguments()[0].source_location();
23842384
error() << "is_sentinel_dll_node expects struct-pointer operands"

0 commit comments

Comments
 (0)