compile_id,group_id,item_id support uint64_t

This commit is contained in:
liuwentan
2023-02-22 15:08:52 +08:00
parent 313b0558d0
commit ac51c70426
30 changed files with 948 additions and 710 deletions

View File

@@ -51,7 +51,7 @@ char *maat_strdup(const char *s)
return d;
}
int get_column_value(const char *line, int column_seq)
long long get_column_value(const char *line, int column_seq)
{
size_t column_offset = 0;
size_t column_len = 0;
@@ -61,7 +61,7 @@ int get_column_value(const char *line, int column_seq)
return -1;
}
return atoi(line + column_offset);
return atoll(line + column_offset);
}
int get_column_pos(const char *line, int column_seq, size_t *offset, size_t *len)