From 327ee894f452ed46131c9b32f09858d6429377b0 Mon Sep 17 00:00:00 2001 From: pstef <3462925+pstef@users.noreply.github.com> Date: Thu, 3 Apr 2025 15:56:13 +0000 Subject: [PATCH] CTR: fix type to re-enable compilation with GCC14 --- ctr/ctr_svchax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctr/ctr_svchax.c b/ctr/ctr_svchax.c index 90d5c4849b..7231643e66 100644 --- a/ctr/ctr_svchax.c +++ b/ctr/ctr_svchax.c @@ -183,7 +183,7 @@ static u32 get_threads_limit(void) Handle resource_limit_handle; s64 thread_limit_current; s64 thread_limit_max; - u32 thread_limit_name = RESOURCE_LIMIT_THREADS; + ResourceLimitType thread_limit_name = RESOURCE_LIMIT_THREADS; svcGetResourceLimit(&resource_limit_handle, CURRENT_KPROCESS_HANDLE); svcGetResourceLimitCurrentValues(&thread_limit_current, resource_limit_handle, &thread_limit_name, 1);