[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'

Florian Forster octo at verplant.org
Fri Jun 1 23:52:23 CEST 2018


 src/ceph.c              |   23 ++++++++++++-----------
 src/df.c                |    6 ++----
 src/email.c             |    5 ++---
 src/iptables.c          |   10 ++++------
 src/java.c              |    9 ++++-----
 src/liboconfig/parser.y |   12 +++++-------
 src/memcached.c         |    2 +-
 src/snmp_agent.c        |    8 ++++----
 8 files changed, 34 insertions(+), 41 deletions(-)

New commits:
commit a3a957215d0f1d56dbdf15db393186b8bb843be6
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 1 20:15:39 2018 +0200

    snmp_agent plugin: fix a few conversion warnings

commit 860c077fc3b5afbe9e347a875621f2e2c5d1904d
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 1 20:12:02 2018 +0200

    memcached plugin: fix implicit conversion warning
    
      CC       src/memcached.lo
    src/memcached.c:478:20: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
        int name_len = strlen(fields[1]);
            ~~~~~~~~   ^~~~~~~~~~~~~~~~~
    1 warning generated.

commit 11a4bca1a856d256113efe984d505a4db89d7c3e
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 1 20:10:52 2018 +0200

    java plugin: fix implicit conversion warning
    
    src/java.c:1014:20: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
      values_num = ds->ds_num;
                 ~ ~~~~^~~~~~
    1 warning generated.

commit e6dec3a203d017319a637d8a8b048879da158538
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 1 20:10:09 2018 +0200

    iptables plugin: fix implicit conversion warnings
    
      CC       src/iptables_la-iptables.lo
    src/iptables.c:139:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
      table_len = strlen(table) + 1;
                ~ ~~~~~~~~~~~~~~^~~
    src/iptables.c:147:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
      chain_len = strlen(chain) + 1;
                ~ ~~~~~~~~~~~~~~^~~
    2 warnings generated.

commit 028736501ebf63ab9d70b8de8628f9b2fd25eb37
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 1 20:09:16 2018 +0200

    email plugin: fix implicit conversion warning
    
    src/email.c:275:13: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
          len = strlen(line);
              ~ ^~~~~~~~~~~~

commit 24cc8f5c9ad5961fcb0d163d4279d835aa3dd5cb
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 1 20:07:21 2018 +0200

    ceph plugin: fix implicit conversion warnings
    
      CC       src/ceph_la-ceph.lo
    src/ceph.c:1160:14: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
            ret, write(io->asok, ((char *)&cmd) + io->amt, cmd_len - io->amt));
            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/ceph.c:67:11: note: expanded from macro 'RETRY_ON_EINTR'
        ret = expr;                                                                \
            ~ ^~~~
    src/ceph.c:1181:25: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
        RETRY_ON_EINTR(ret, read(io->asok, ((char *)(&io->d->version)) + io->amt,
        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/ceph.c:67:11: note: expanded from macro 'RETRY_ON_EINTR'
        ret = expr;                                                                \
            ~ ^~~~
    src/ceph.c:1207:25: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
        RETRY_ON_EINTR(ret, read(io->asok, ((char *)(&io->json_len)) + io->amt,
        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/ceph.c:67:11: note: expanded from macro 'RETRY_ON_EINTR'
        ret = expr;                                                                \
            ~ ^~~~
    src/ceph.c:1229:20: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
                       read(io->asok, io->json + io->amt, io->json_len - io->amt));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/ceph.c:67:11: note: expanded from macro 'RETRY_ON_EINTR'
        ret = expr;                                                                \
            ~ ^~~~
    src/ceph.c:1299:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
      int sec_diff = t1->tv_sec - t2->tv_sec;
          ~~~~~~~~   ~~~~~~~~~~~^~~~~~~~~~~~
    src/ceph.c:1300:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
      int usec_diff = t1->tv_usec - t2->tv_usec;
          ~~~~~~~~~   ~~~~~~~~~~~~^~~~~~~~~~~~~
    6 warnings generated.
      CCLD     ceph.la

commit f650263a946b9d7a0dca786948df448d32ef1f9b
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 1 19:15:46 2018 +0200

    df plugin: fix implicit conversion warning
    
      CC       src/df.lo
    src/df.c:231:15: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
            len = strlen(disk_name);
                ~ ^~~~~~~~~~~~~~~~~
    1 warning generated.

commit f6e419ba6ceeb7c1da5cb1432d8e7347e8bc6fbc
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 1 19:06:34 2018 +0200

    parser.y: minor cleanup

commit 975e2cad6b848e6ffbc38c71439ff786d87ff4a6
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 1 19:02:06 2018 +0200

    parser.y: fix implicit conversion warning
    
      CC       src/liboconfig/liboconfig_la-parser.lo
    src/liboconfig/parser.y:273:8: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
            len = strlen (ret);
                ~ ^~~~~~~~~~~~
    1 warning generated.




More information about the collectd-changes mailing list