This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: libdvbv5/dvb-dev-remote.c: fix send_fmt prototype
Author:  Hans Verkuil <hverkuil-ci...@xs4all.nl>
Date:    Mon Nov 8 11:20:52 2021 +0100

The 3rd argument should be a const char *, not a const char array.

This fixes a lot of compiler warnings for this source.

Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 lib/libdvbv5/dvb-dev-remote.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=1af867ab0889b5262a5bbffcb983dd8a9f5ac6f4
diff --git a/lib/libdvbv5/dvb-dev-remote.c b/lib/libdvbv5/dvb-dev-remote.c
index 3ef9d67c433e..cd783858768c 100644
--- a/lib/libdvbv5/dvb-dev-remote.c
+++ b/lib/libdvbv5/dvb-dev-remote.c
@@ -228,11 +228,11 @@ static ssize_t prepare_data(struct dvb_v5_fe_parms_priv 
*parms,
 }
 
 static struct queued_msg *send_fmt(struct dvb_device_priv *dvb, int fd,
-                                  const char cmd[CMD_SIZE], const char *fmt, 
...)
+                                  const char *cmd, const char *fmt, ...)
        __attribute__ (( format( printf, 4, 5 )));
 
 static struct queued_msg *send_fmt(struct dvb_device_priv *dvb, int fd,
-                                  const char cmd[CMD_SIZE], const char *fmt, 
...)
+                                  const char *cmd, const char *fmt, ...)
 {
        struct dvb_v5_fe_parms_priv *parms = (void *)dvb->d.fe_parms;
        struct dvb_dev_remote_priv *priv = dvb->priv;

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to