diff --git a/src/common/zipstrm.cpp b/src/common/zipstrm.cpp index 063c1edf4c..3b25275b7f 100644 --- a/src/common/zipstrm.cpp +++ b/src/common/zipstrm.cpp @@ -133,7 +133,7 @@ static inline wxUint64 CrackUint64(const char *m) (static_cast(n[6]) << 48) | (static_cast(n[5]) << 40) | (static_cast(n[4]) << 32) | - (n[3] << 24) | (n[2] << 16) | (n[1] << 8) | n[0]; + (static_cast(n[3]) << 24) | (n[2] << 16) | (n[1] << 8) | n[0]; } // Decode a little endian wxUint32 number from a character array