windows sim:convert pointer type to char* fix windows net build error
nuttx\include\nuttx\net\netfilter\ip6_tables.h(299,24): error C2036: 'void *': unknown size Co-authored-by: chenxiaoyi <chenxiaoyi@xiaomi.com> Co-authored-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
parent
cedb7f97de
commit
363cd1c17a
@ -296,7 +296,7 @@ struct ip6t_icmp
|
||||
static inline FAR struct xt_entry_target *
|
||||
ip6t_get_target(FAR struct ip6t_entry *e)
|
||||
{
|
||||
return (FAR void *)e + e->target_offset;
|
||||
return (FAR char *)e + e->target_offset;
|
||||
}
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_NET_NETFILTER_IP6_TABLES_H */
|
||||
|
Loading…
Reference in New Issue
Block a user