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 e3ca68ffaaaba95bfd1d880f3018956879f77730..148d2ffe324f28f4029b9b27c880335143a9bae8 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 1eb9b7b61297423eb56e73dd69e05b57d00f8cdd..015d9f552c47ef60951a6ba99991c70f445af2ce 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);