src/common.c: Use uint8_t's instead of (signed) char's.
authorFlorian Forster <octo@crystal.wlan.home.verplant.org>
Thu, 28 Feb 2008 18:54:55 +0000 (19:54 +0100)
committerFlorian Forster <octo@crystal.wlan.home.verplant.org>
Thu, 28 Feb 2008 18:54:55 +0000 (19:54 +0100)
src/common.c

index 1c8f20a..f93cf76 100644 (file)
@@ -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;