mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-03 14:52:13 +02:00
Fix 32bit builds
This commit is contained in:
@@ -432,7 +432,7 @@ bool php_phongo_bson_visit_int64(const bson_iter_t *iter __attribute__((unused))
|
||||
#if SIZEOF_LONG == 4
|
||||
if (v_int64 > INT_MAX) {
|
||||
mongoc_log(MONGOC_LOG_LEVEL_ERROR, MONGOC_LOG_DOMAIN, "Integer overflow detected on your platform: %lld", v_int64);
|
||||
return false
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user