@@ -294,7 +294,7 @@ static void phongo_cursor_init_for_query(zval *return_value, mongoc_client_t *cl
294294#endif
295295} /* }}} */
296296
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 ) /* {{{ */
298298{
299299 php_phongo_server_t * server ;
300300
@@ -428,7 +428,7 @@ zend_bool phongo_writeerror_init(zval *return_value, bson_t *bson TSRMLS_DC) /*
428428 return true;
429429} /* }}} */
430430
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 ) /* {{{ */
432432{
433433 php_phongo_writeresult_t * writeresult ;
434434
@@ -630,7 +630,7 @@ static bool phongo_parse_write_concern(zval *options, bson_t *mongoc_opts, zval
630630 return true;
631631}
632632
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 ) /* {{{ */
634634{
635635 bson_error_t error ;
636636 int success ;
@@ -739,7 +739,7 @@ static bool phongo_advance_cursor_and_check_for_error(mongoc_cursor_t *cursor TS
739739 return true;
740740}
741741
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 ) /* {{{ */
743743{
744744 const php_phongo_query_t * query ;
745745 mongoc_cursor_t * cursor ;
@@ -814,7 +814,7 @@ static bson_t *create_wrapped_command_envelope(const char *db, bson_t *reply)
814814 return tmp ;
815815}
816816
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 ) /* {{{ */
818818{
819819 const php_phongo_command_t * command ;
820820 bson_iter_t iter ;
0 commit comments