1From 31a2af8891c0d460942f0c182442615618248388 Mon Sep 17 00:00:00 2001
2From: Michael Forney <mforney@mforney.org>
3Date: Mon, 6 Sep 2021 23:27:23 -0700
4Subject: [PATCH] Avoid conversion between function and object pointer
5
6---
7 lib/fuse_lowlevel.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
11index a12f5cc..b864d90 100644
12--- a/lib/fuse_lowlevel.c
13+++ b/lib/fuse_lowlevel.c
14@@ -2496,7 +2496,7 @@ static struct {
15 [FUSE_POLL] = { do_poll, "POLL" },
16 [FUSE_FALLOCATE] = { do_fallocate, "FALLOCATE" },
17 [FUSE_DESTROY] = { do_destroy, "DESTROY" },
18- [FUSE_NOTIFY_REPLY] = { (void *) 1, "NOTIFY_REPLY" },
19+ [FUSE_NOTIFY_REPLY] = { (void (*)()) 1, "NOTIFY_REPLY" },
20 [FUSE_BATCH_FORGET] = { do_batch_forget, "BATCH_FORGET" },
21 [FUSE_READDIRPLUS] = { do_readdirplus, "READDIRPLUS"},
22 [FUSE_RENAME2] = { do_rename2, "RENAME2" },
23--
242.32.0
25