about summary refs log tree commit diff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/floatcode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/floatcode.h b/lib/util/floatcode.h
index 8559ff79..6079c142 100644
--- a/lib/util/floatcode.h
+++ b/lib/util/floatcode.h
@@ -25,7 +25,7 @@ typedef struct {
 static __inline__ float
 pm_floatFromBigendFloat(pm_bigendFloat const arg) {
 
-    uint32_t retval;
+    float retval;
 
     switch (pm_byteOrder) {
     case BIG_ENDIAN: {
@@ -109,7 +109,7 @@ typedef struct {
 static __inline__ double
 pm_doubleFromBigendDouble(pm_bigendDouble const arg) {
 
-    uint32_t retval;
+    double retval;
 
     switch (pm_byteOrder) {
     case BIG_ENDIAN: {