about summary refs log tree commit diff
path: root/lib/util/floatcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/floatcode.h')
-rw-r--r--lib/util/floatcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/floatcode.h b/lib/util/floatcode.h
index 6079c142..dc31d038 100644
--- a/lib/util/floatcode.h
+++ b/lib/util/floatcode.h
@@ -163,7 +163,7 @@ pm_bigendDoubleFromDouble(double const arg) {
     } break;
     case LITTLE_ENDIAN: {
         union {
-            unsigned char bytes[4];
+            unsigned char bytes[8];
             double native;
         } converter;