From 83d6a2803072d53a92bd0947c78f57f1f7036afb Mon Sep 17 00:00:00 2001 From: ngosang Date: Mon, 29 Aug 2016 22:11:05 +0200 Subject: [PATCH] Fix warning in geoipdatabase.cpp --- src/base/net/private/geoipdatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/net/private/geoipdatabase.cpp b/src/base/net/private/geoipdatabase.cpp index 57c9dc3e4..0cbe72832 100644 --- a/src/base/net/private/geoipdatabase.cpp +++ b/src/base/net/private/geoipdatabase.cpp @@ -40,7 +40,7 @@ namespace { const quint32 __ENDIAN_TEST__ = 0x00000001; const bool __IS_LITTLE_ENDIAN__ = (reinterpret_cast(&__ENDIAN_TEST__)[0] == 0x01); - const quint32 MAX_FILE_SIZE = 67108864; // 64MB + const qint32 MAX_FILE_SIZE = 67108864; // 64MB const char DB_TYPE[] = "GeoLite2-Country"; const quint32 MAX_METADATA_SIZE = 131072; // 128KB const char METADATA_BEGIN_MARK[] = "\xab\xcd\xefMaxMind.com";