修复编译错误

This commit is contained in:
liuxueli
2020-09-28 17:27:28 +08:00
parent f3ba19def0
commit 38cae269e8
2 changed files with 2 additions and 2 deletions

View File

@@ -55,6 +55,6 @@ struct Maat_rule_t *tsg_fetch_deny_rule(Maat_rule_t *result, int result_num);
int tsg_get_method_id(char *method); int tsg_get_method_id(char *method);
int tsg_get_fqdn_category_id(Maat_feather_t maat_feather, char *fqdn, int *category_id, int category_id_num, void *logger, int thread_seq); int tsg_get_fqdn_category_id(Maat_feather_t maat_feather, char *fqdn, unsigned int *category_id, int category_id_num, void *logger, int thread_seq);
#endif #endif

View File

@@ -1483,7 +1483,7 @@ int tsg_get_method_id(char *method)
return -1; return -1;
} }
int tsg_get_fqdn_category_id(Maat_feather_t maat_feather, char *fqdn, int *category_id, int category_id_num, void *logger, int thread_seq) int tsg_get_fqdn_category_id(Maat_feather_t maat_feather, char *fqdn, unsigned int *category_id, int category_id_num, void *logger, int thread_seq)
{ {
int i=0,ret=0; int i=0,ret=0;
struct _fqdn_category_t *ex_data_array[8]={0}; struct _fqdn_category_t *ex_data_array[8]={0};