From: Jan-E Date: Thu, 24 Oct 2019 10:07:26 +0000 (+0200) Subject: Fix PHP 7.4: ulong -> unsigned long X-Git-Tag: release-2.0.1~1^2 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-raphf;a=commitdiff_plain;h=7b97243bc22bcfb91f53a5fbf6d26aec733d6116 Fix PHP 7.4: ulong -> unsigned long --- 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; /**