uint64_t -> long long
This commit is contained in:
@@ -35,7 +35,7 @@ struct fqdn_plugin_schema {
|
||||
};
|
||||
|
||||
struct fqdn_plugin_item {
|
||||
uint64_t item_id;
|
||||
long long item_id;
|
||||
int suffix_flag;
|
||||
|
||||
};
|
||||
@@ -349,7 +349,7 @@ int fqdn_plugin_runtime_update(void *fqdn_plugin_runtime, void *fqdn_plugin_sche
|
||||
|
||||
char *key = (char *)&item_id;
|
||||
int ret = fqdn_plugin_runtime_update_row(fqdn_plugin_rt, schema, line, key,
|
||||
sizeof(uint64_t), rule, is_valid);
|
||||
sizeof(long long), rule, is_valid);
|
||||
if (ret < 0) {
|
||||
if (item != NULL) {
|
||||
FREE(item);
|
||||
@@ -459,4 +459,4 @@ int fqdn_plugin_runtime_get_ex_data(void *fqdn_plugin_runtime, const char *query
|
||||
}
|
||||
|
||||
return n_result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user