make gcc 15 happy

This commit is contained in:
vanhauser-thc 2025-02-11 11:57:57 +01:00
parent ebd6d4b8bb
commit 65b99d25e1
4 changed files with 7 additions and 3 deletions

View File

@ -110,8 +110,9 @@ static u8 count_class_lookup[256] = {
};
static void kill_child() {
static void kill_child(int signal) {
(void)signal;
if (fsrv.child_pid > 0) {
kill(fsrv.child_pid, fsrv.child_kill_signal);

View File

@ -2849,6 +2849,7 @@ int main(int argc, char **argv_orig, char **envp) {
for (u32 i = 0; i < afl->queued_items; i++) {
q = afl->queue_buf[i];
// this is very dirty and assumes nice memory :-)
ZLIBREAD(fr_fd, (u8 *)&(q->colorized), q_len, "queue data");
ZLIBREAD(fr_fd, res, 1, "check map");
if (res[0]) {

View File

@ -131,8 +131,9 @@ static const u8 count_class_binary[256] = {
};
static void kill_child() {
static void kill_child(int signal) {
(void)signal;
timed_out = 1;
if (fsrv->child_pid > 0) {

View File

@ -111,8 +111,9 @@ static const u8 count_class_lookup[256] = {
};
static void kill_child() {
static void kill_child(int signal) {
(void)signal;
if (fsrv->child_pid > 0) {
kill(fsrv->child_pid, fsrv->child_kill_signal);