Commit c852fce5a78 for php.net
commit c852fce5a780bc72ea4259a45b804ee323080a37
Author: Gina Peter Banyard <girgias@php.net>
Date: Mon Jul 27 19:32:02 2026 +0100
streams: use PRIu32 format specifier rather than u
The value is a uint32_t and this may depend on the platform how it is represented
diff --git a/main/streams/stream_errors.c b/main/streams/stream_errors.c
index 9ee6127df77..5b52bad1e1a 100644
--- a/main/streams/stream_errors.c
+++ b/main/streams/stream_errors.c
@@ -283,7 +283,7 @@ PHPAPI php_stream_error_operation *php_stream_error_operation_begin(void)
if (state->operation_depth >= PHP_STREAM_ERROR_MAX_DEPTH) {
php_error_docref(NULL, E_WARNING,
- "Stream error operation depth exceeded (%u), possible infinite recursion",
+ "Stream error operation depth exceeded (%"PRIu32"), possible infinite recursion",
state->operation_depth);
return NULL;
}