diff options
author | madmaxoft <github@xoft.cz> | 2014-03-01 02:43:35 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-01 02:43:35 +0100 |
commit | 3991c04d478b0e929faff4ce95fdb53eae67b888 (patch) | |
tree | 9ffc8d92ef5b406cb158b7ba6305cee207f7683d /src/WorldStorage | |
parent | Fixed multiple gcc warnings about unused params. (diff) | |
download | cuberite-3991c04d478b0e929faff4ce95fdb53eae67b888.tar cuberite-3991c04d478b0e929faff4ce95fdb53eae67b888.tar.gz cuberite-3991c04d478b0e929faff4ce95fdb53eae67b888.tar.bz2 cuberite-3991c04d478b0e929faff4ce95fdb53eae67b888.tar.lz cuberite-3991c04d478b0e929faff4ce95fdb53eae67b888.tar.xz cuberite-3991c04d478b0e929faff4ce95fdb53eae67b888.tar.zst cuberite-3991c04d478b0e929faff4ce95fdb53eae67b888.zip |
Diffstat (limited to 'src/WorldStorage')
-rw-r--r-- | src/WorldStorage/FastNBT.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/FastNBT.h b/src/WorldStorage/FastNBT.h index 49f97c458..d68ebd54c 100644 --- a/src/WorldStorage/FastNBT.h +++ b/src/WorldStorage/FastNBT.h @@ -175,8 +175,8 @@ public: // Cause a compile-time error if sizeof(float) != 4 // If your platform produces a compiler error here, you'll need to add code that manually decodes 32-bit floats - char Check1[5 - sizeof(float)]; // sizeof(float) <= 4 - char Check2[sizeof(float) - 3]; // sizeof(float) >= 4 + char Check1[5 - sizeof(float)]; // Fails if sizeof(float) > 4 + char Check2[sizeof(float) - 3]; // Fails if sizeof(float) < 4 UNUSED(Check1); UNUSED(Check2); |