Changeset ce6a0600761ddbd0ee44fdc8d488a24e5a020fa1
- Timestamp:
- 02/20/11 17:34:29
(2 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
| r7d308b7 |
rce6a060 |
|
| 937 | 937 | sizeof (pkg_type)); |
|---|
| 938 | 938 | memcpy ((void *) &pkg_length, |
|---|
| 939 | | (void *) (buffer + sizeof (pkg_type)), |
|---|
| | 939 | (void *) ((char *)buffer + sizeof (pkg_type)), |
|---|
| 940 | 940 | sizeof (pkg_length)); |
|---|
| 941 | 941 | |
|---|
| … | … | |
| 1248 | 1248 | break; |
|---|
| 1249 | 1249 | |
|---|
| | 1250 | default: |
|---|
| 1250 | 1251 | 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]); |
|---|
| 1253 | 1254 | return (-1); |
|---|
| 1254 | 1255 | } /* switch (value_types[i]) */ |
|---|