Changeset ce6a0600761ddbd0ee44fdc8d488a24e5a020fa1

Show
Ignore:
Timestamp:
02/20/11 17:34:29 (4 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1298223269 +0000
git-parent:

[8a8ffcf208483f2c01a51f3bbb05e70e93f073cc]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1298223269 +0000
Message:

fix two warnings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/collectd.c

    r7d308b7 rce6a060  
    937937        sizeof (pkg_type)); 
    938938    memcpy ((void *) &pkg_length, 
    939         (void *) (buffer + sizeof (pkg_type)), 
     939        (void *) ((char *)buffer + sizeof (pkg_type)), 
    940940        sizeof (pkg_length)); 
    941941 
     
    12481248        break; 
    12491249 
     1250      default: 
    12501251        noitL(noit_debug, "collectd: parse_part_values: " 
    1251       "Don't know how to handle data source type %"PRIu8 "\n", 
    1252       vl->types[i]); 
     1252              "Don't know how to handle data source type %"PRIu8 "\n", 
     1253              vl->types[i]); 
    12531254        return (-1); 
    12541255    } /* switch (value_types[i]) */