From aa76e4a1c4f95f26c97d7c599409dacbfac4c24a Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 28 Feb 2008 19:54:55 +0100 Subject: [PATCH] src/common.c: Use uint8_t's instead of (signed) char's. --- src/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.0