|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesmod_mm.patch (last revision 2020-06-22 12:06 UTC by velemas at gmail dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-06-22 12:06 UTC] velemas at gmail dot com
[2020-06-22 12:10 UTC] cmb@php.net
-Status: Open
+Status: Verified
[2020-08-13 09:45 UTC] nikic@php.net
-Assigned To:
+Assigned To: nikic
[2020-08-13 15:26 UTC] nikic@php.net
[2020-08-13 15:26 UTC] nikic@php.net
-Status: Verified
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 09:00:01 2025 UTC |
Description: ------------ (php-7.4.7/ext/session/mod_mm.c) / 469: return value type does not match the function type return nrdels; This points to PS_GC_FUNC(mm). PS_GC_FUNC is: #define PS_GC_FUNC(x) zend_long ps_gc_##x(PS_GC_ARGS) <-- Note zend_long return type And PS_GC_ARGS is: #define PS_GC_ARGS void **mod_data, zend_long maxlifetime, zend_long *nrdels <-- Note zend_long* pointer type PS_GC_FUNC(mm) returns nrdels which is a zend_long pointer but its return type is just a zend_long value. The returns statement should be: return *nrdels;