Code

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 1c8f20a42b592744dae45d729ed6679845ab80ba..f93cf769432e92f93dffa9661407db9237275690 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;