@@ -21,8 +21,8 @@ const static bool zlibVersionCheck MBGL_UNUSED = []() {
|
||||
const char *const version = zlibVersion();
|
||||
if (version[0] != ZLIB_VERSION[0]) {
|
||||
char message[96];
|
||||
snprintf(message, 96, "zlib version mismatch: headers report %s, but library reports %s",
|
||||
ZLIB_VERSION, version);
|
||||
snprintf(
|
||||
message, 96, "zlib version mismatch: headers report %s, but library reports %s", ZLIB_VERSION, version);
|
||||
throw std::runtime_error(message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user