summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2018-12-03 16:57:11 -0500
committerBernard Normier <bernard@zeroc.com>2018-12-03 16:57:11 -0500
commitd21a5face8669d1aa44fa695ae670d00cc45e892 (patch)
tree4a553f0220f8f0a2bb082da22876bf04fcaeef4b /php/src
parentRevert accidental commit. (diff)
downloadice-d21a5face8669d1aa44fa695ae670d00cc45e892.tar.bz2
ice-d21a5face8669d1aa44fa695ae670d00cc45e892.tar.xz
ice-d21a5face8669d1aa44fa695ae670d00cc45e892.zip
Fixed warning introduced by previous commit.
Diffstat (limited to 'php/src')
-rw-r--r--php/src/php7/Types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/php7/Types.cpp b/php/src/php7/Types.cpp
index ac03e20e922..c5d99408578 100644
--- a/php/src/php7/Types.cpp
+++ b/php/src/php7/Types.cpp
@@ -1189,7 +1189,7 @@ convertDataMembers(zval* zv, DataMemberList& reqMembers, DataMemberList& optMemb
assert(Z_TYPE_P(arr) == IS_ARRAY);
HashTable* member = Z_ARRVAL_P(arr);
- assert(zend_hash_num_elements(member) == (allowOptional ? 4 : 2));
+ assert(zend_hash_num_elements(member) == static_cast<uint32_t>(allowOptional ? 4 : 2));
elem = zend_hash_index_find(member, 0);
assert(Z_TYPE_P(elem) == IS_STRING);