[php-src] PR #24346: Fix -Woverflow warning for POSIX_RLIMIT_INFINITY on 32-bit (arm32)

From: Date: Thu, 15 Oct 2026 10:26:16 +0000
Subject: [php-src] PR #24346: Fix -Woverflow warning for POSIX_RLIMIT_INFINITY on 32-bit (arm32)
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-39462@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24346 Author: marc-mabe With a 64-bit rlim_t, RLIM_INFINITY does not fit into a 32-bit zend_long and the implicit conversion warns, which breaks --enable-werror builds. Register -1 in that case, which posix_setrlimit() maps back to RLIM_INFINITY. This is the value the truncation produced already, so the constant does not change on any platform.

« previous php.git-pulls (#39462) next »