From: Florian Forster Date: Thu, 28 Feb 2008 18:54:55 +0000 (+0100) Subject: src/common.c: Use uint8_t's instead of (signed) char's. X-Git-Tag: collectd-4.2.5~5 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=aa76e4a1c4f95f26c97d7c599409dacbfac4c24a;p=collectd.git src/common.c: Use uint8_t's instead of (signed) char's. --- diff --git a/src/common.c b/src/common.c index 1c8f20a4..f93cf769 100644 --- a/src/common.c +++ b/src/common.c @@ -593,7 +593,7 @@ double ntohd (double d) { union { - char byte[8]; + uint8_t byte[8]; uint64_t integer; double floating; } ret; @@ -622,7 +622,7 @@ double htond (double d) { union { - char byte[8]; + uint8_t byte[8]; uint64_t integer; double floating; } ret;