From cc619cb8b6a15e1ea14bedf713cbcd645a0ee7ca Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 7 Feb 2020 07:59:53 +0100 Subject: [PATCH] ulong -> unsigned long --- src/php_pqconn.c | 2 +- src/php_pqconn.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/php_pqconn.c b/src/php_pqconn.c index e3ca68f..148d2ff 100644 --- a/src/php_pqconn.c +++ b/src/php_pqconn.c @@ -42,7 +42,7 @@ static void php_pq_callback_hash_dtor(zval *p) } /* -static void php_pqconn_del_eventhandler(php_pqconn_object_t *obj, const char *type_str, size_t type_len, ulong id) +static void php_pqconn_del_eventhandler(php_pqconn_object_t *obj, const char *type_str, size_t type_len, unsigned long id) { zval **evhs; diff --git a/src/php_pqconn.h b/src/php_pqconn.h index 1eb9b7b..015d9f5 100644 --- a/src/php_pqconn.h +++ b/src/php_pqconn.h @@ -46,7 +46,7 @@ typedef struct php_pqconn_object { typedef struct php_pqconn_resource_factory_data { char *dsn; - uint32_t flags; + unsigned long flags; } php_pqconn_resource_factory_data_t; extern php_resource_factory_ops_t *php_pqconn_get_resource_factory_ops(void); -- 2.30.2