@@ -294,7 +294,7 @@ static void phongo_cursor_init_for_query(zval *return_value, mongoc_client_t *cl
294
294
#endif
295
295
} /* }}} */
296
296
297
- void phongo_server_init (zval * return_value , mongoc_client_t * client , int server_id TSRMLS_DC ) /* {{{ */
297
+ void phongo_server_init (zval * return_value , mongoc_client_t * client , uint32_t server_id TSRMLS_DC ) /* {{{ */
298
298
{
299
299
php_phongo_server_t * server ;
300
300
@@ -428,7 +428,7 @@ zend_bool phongo_writeerror_init(zval *return_value, bson_t *bson TSRMLS_DC) /*
428
428
return true;
429
429
} /* }}} */
430
430
431
- static php_phongo_writeresult_t * phongo_writeresult_init (zval * return_value , bson_t * reply , mongoc_client_t * client , int server_id TSRMLS_DC ) /* {{{ */
431
+ static php_phongo_writeresult_t * phongo_writeresult_init (zval * return_value , bson_t * reply , mongoc_client_t * client , uint32_t server_id TSRMLS_DC ) /* {{{ */
432
432
{
433
433
php_phongo_writeresult_t * writeresult ;
434
434
@@ -630,7 +630,7 @@ static bool phongo_parse_write_concern(zval *options, bson_t *mongoc_opts, zval
630
630
return true;
631
631
}
632
632
633
- bool phongo_execute_bulk_write (mongoc_client_t * client , const char * namespace , php_phongo_bulkwrite_t * bulk_write , zval * options , int server_id , zval * return_value , int return_value_used TSRMLS_DC ) /* {{{ */
633
+ bool phongo_execute_bulk_write (mongoc_client_t * client , const char * namespace , php_phongo_bulkwrite_t * bulk_write , zval * options , uint32_t server_id , zval * return_value , int return_value_used TSRMLS_DC ) /* {{{ */
634
634
{
635
635
bson_error_t error ;
636
636
int success ;
@@ -739,7 +739,7 @@ static bool phongo_advance_cursor_and_check_for_error(mongoc_cursor_t *cursor TS
739
739
return true;
740
740
}
741
741
742
- int phongo_execute_query (mongoc_client_t * client , const char * namespace , zval * zquery , zval * options , int server_id , zval * return_value , int return_value_used TSRMLS_DC ) /* {{{ */
742
+ int phongo_execute_query (mongoc_client_t * client , const char * namespace , zval * zquery , zval * options , uint32_t server_id , zval * return_value , int return_value_used TSRMLS_DC ) /* {{{ */
743
743
{
744
744
const php_phongo_query_t * query ;
745
745
mongoc_cursor_t * cursor ;
@@ -814,7 +814,7 @@ static bson_t *create_wrapped_command_envelope(const char *db, bson_t *reply)
814
814
return tmp ;
815
815
}
816
816
817
- int phongo_execute_command (mongoc_client_t * client , php_phongo_command_type_t type , const char * db , zval * zcommand , zval * options , int server_id , zval * return_value , int return_value_used TSRMLS_DC ) /* {{{ */
817
+ int phongo_execute_command (mongoc_client_t * client , php_phongo_command_type_t type , const char * db , zval * zcommand , zval * options , uint32_t server_id , zval * return_value , int return_value_used TSRMLS_DC ) /* {{{ */
818
818
{
819
819
const php_phongo_command_t * command ;
820
820
bson_iter_t iter ;
0 commit comments