ulong -> unsigned long
authorMichael Wallner <mike@php.net>
Fri, 7 Feb 2020 06:59:53 +0000 (07:59 +0100)
committerMichael Wallner <mike@php.net>
Fri, 7 Feb 2020 06:59:53 +0000 (07:59 +0100)
src/php_pqconn.c
src/php_pqconn.h

index e3ca68f..148d2ff 100644 (file)
@@ -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;
 
index 1eb9b7b..015d9f5 100644 (file)
@@ -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);