Update Constants.java
authorYury Bandarchuk <YuryBandarchuk16@users.noreply.github.com>
Thu, 23 Jun 2016 18:30:32 +0000 (21:30 +0300)
committerGitHub <noreply@github.com>
Thu, 23 Jun 2016 18:30:32 +0000 (21:30 +0300)
java/com/google/flatbuffers/Constants.java

index c3b98c5..f590631 100644 (file)
@@ -34,7 +34,7 @@ public class Constants {
     /** The number of bytes in an `long`. */
     static final int SIZEOF_LONG = 8;
     /** The number of bytes in an `double`. */
-    static final int SIZEOF_DOUBLE = 4;
+    static final int SIZEOF_DOUBLE = 8;
     /** The number of bytes in a file identifier. */
     static final int FILE_IDENTIFIER_LENGTH = 4;
 }