compile_id,group_id,item_id support uint64_t
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user