summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 20e6d9e)
raw | patch | inline | side by side (parent: 20e6d9e)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Tue, 26 Jul 2016 14:14:02 +0000 (16:14 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Tue, 26 Jul 2016 14:15:51 +0000 (16:15 +0200) |
Found by LLVM:
comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long')
comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long')
src/utils_format_kairosdb.c | patch | blob | history |
index 281ce5246932a4f2b6584b6eb68a2c8bd3a03e90..6258c492a50cf9e7cd9aaa468ac057502d0f3850 100644 (file)
static int values_to_kairosdb (char *buffer, size_t buffer_size, /* {{{ */
const data_set_t *ds, const value_list_t *vl, int store_rates,
- int ds_idx)
+ size_t ds_idx)
{
size_t offset = 0;
gauge_t *rates = NULL;
char temp[512];
size_t offset = 0;
int status;
- int i=0;
+ size_t i;
memset (buffer, 0, buffer_size);