diff options
Diffstat (limited to 'lib/util/floatcode.h')
-rw-r--r-- | lib/util/floatcode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/floatcode.h b/lib/util/floatcode.h index 23c57e9b..dc31d038 100644 --- a/lib/util/floatcode.h +++ b/lib/util/floatcode.h @@ -124,7 +124,7 @@ pm_doubleFromBigendDouble(pm_bigendDouble const arg) { }; break; case LITTLE_ENDIAN: { union { - unsigned char bytes[4]; + unsigned char bytes[8]; double native; } converter; @@ -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; |