[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1096877: jpegpixi: ftbfs with GCC-15



Control: tags 1096877 + patch

Control: tags 1096877 + pending


Provide patch fixes the build error.

Submitted the fix in upload to mentors.

Regards,
Syed Shahrukh Hussain

--

OSS Revival
Empowering open-source, one project at a time.

https://ossrevival.org/
From: Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org>
Date: Wed, 5 Nov 2025 19:19:35 +0500
Subject: Updated malloc declaration.
Forwarded: not-needed
---
 rbtree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rbtree.c b/rbtree.c
index a4451ff..4ad6ad6 100644
--- a/rbtree.c
+++ b/rbtree.c
@@ -25,7 +25,7 @@
 # include <malloc.h>
 #endif
 #if !HAVE_DECL_MALLOC
-extern void *malloc ();
+extern void *malloc (size_t);
 #endif
 
 #include "rbtree.h"

Reply to: