Fix has_external_partition() incompatible pointer type warnings
cdbpartition.c: In function ‘rel_has_external_partition’: cdbpartition.c:489:32: warning: passing argument 1 of ‘has_external_partition’ from incompatible pointer type [-Wincompatible-pointer-types] return has_external_partition(n->rules); ^ cdbpartition.c:106:13: note: expected ‘PartitionRule * {aka struct PartitionRule *}’ but argument is of type ‘List * {aka struct List *}’ static bool has_external_partition(PartitionRule *rules); ^~~~~~~~~~~~~~~~~~~~~~
Showing
想要评论请 注册 或 登录