From: Jan Ehrhardt Date: Thu, 24 Oct 2019 10:15:28 +0000 (+0200) Subject: Merge pull request #8 from Jan-E/php-74fix-ulong X-Git-Tag: release-2.0.1~1 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-raphf;a=commitdiff_plain;h=3c8dd2e0e355cc5b80daab71c6fa897ea8ca335c;hp=e2b5953d34381c54d4efff501124afe24ec057b0 Merge pull request #8 from Jan-E/php-74fix-ulong 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; /**