From 7b97243bc22bcfb91f53a5fbf6d26aec733d6116 Mon Sep 17 00:00:00 2001 From: Jan-E Date: Thu, 24 Oct 2019 12:07:26 +0200 Subject: [PATCH] Fix PHP 7.4: ulong -> unsigned long --- src/php_raphf_api.c | 2 +- src/php_raphf_api.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/php_raphf_api.c b/src/php_raphf_api.c index b256e47..004fd66 100644 --- a/src/php_raphf_api.c +++ b/src/php_raphf_api.c @@ -24,7 +24,7 @@ #endif struct php_persistent_handle_globals { - ulong limit; + unsigned long limit; HashTable hash; }; diff --git a/src/php_raphf_api.h b/src/php_raphf_api.h index e9f0581..b8b4458 100644 --- a/src/php_raphf_api.h +++ b/src/php_raphf_api.h @@ -150,7 +150,7 @@ typedef struct php_persistent_handle_list { /** Storage of free resources */ HashTable free; /** Count of acquired resources */ - ulong used; + unsigned long used; } php_persistent_handle_list_t; /** -- 2.30.2