Skip to content

Commit dc92dee

Browse files
szafonimateusz-mipkarashchenko
authored andcommitted
include/nuttx/net/netfilter/ip6_tables.h: fix gcc 14 errors
fix gcc 14 errors for ip6_tables.h Signed-off-by: p-szafonimateusz <[email protected]>
1 parent 5172da6 commit dc92dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nuttx/net/netfilter/ip6_tables.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ struct ip6t_icmp
296296
static inline FAR struct xt_entry_target *
297297
ip6t_get_target(FAR struct ip6t_entry *e)
298298
{
299-
return (FAR char *)e + e->target_offset;
299+
return (FAR struct xt_entry_target *)((FAR char *)e + e->target_offset);
300300
}
301301

302302
#endif /* __INCLUDE_NUTTX_NET_NETFILTER_IP6_TABLES_H */

0 commit comments

Comments
 (0)