diff options
| author | chenzizhan <[email protected]> | 2023-11-03 17:14:46 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2023-11-03 17:18:06 +0800 |
| commit | 42ec6d3f614bc840f6463f80ef4bd68239c90a80 (patch) | |
| tree | 83d7e96de2b5d5c8d710621f11f9e920b6db225e /src | |
| parent | 5d620841ecb273a80699ebbb0904d52be1f4e031 (diff) | |
a type
Diffstat (limited to 'src')
| -rw-r--r-- | src/fieldstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fieldstat.c b/src/fieldstat.c index 89ac879..210103e 100644 --- a/src/fieldstat.c +++ b/src/fieldstat.c @@ -582,7 +582,7 @@ int check_before_add(const struct fieldstat *instance, int cube_id, int metric_i return FS_OK; } -int fieldstat_counter_incrby(struct fieldstat *instance, int cube_id, int metric_id, const struct fieldstat_tag *tags, size_t n_tag, long increment) +int fieldstat_counter_incrby(struct fieldstat *instance, int cube_id, int metric_id, const struct fieldstat_tag *tags, size_t n_tag, long long increment) { int ret = check_before_add(instance, cube_id, metric_id, METRIC_TYPE_COUNTER); if (ret != FS_OK) { |
