From 29bfcd96cc16ee2e8b09b2f28e8402fc47745b33 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Tue, 2 Dec 2014 17:21:04 -0800 Subject: [PATCH] Fix 32bit builds --- src/bson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bson.c b/src/bson.c index 19275519..d86e1c71 100644 --- a/src/bson.c +++ b/src/bson.c @@ -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