The patch number 9749 was added via Hans Verkuil <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Hans Verkuil  <[EMAIL PROTECTED]>
qv4l2: fix compile warnings.


Priority: normal

Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>


---

 v4l2-apps/util/qv4l2/qv4l2.cpp |    8 ++++----
 v4l2-apps/util/qv4l2/qv4l2.h   |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff -r d276708f314d -r ef952708012b v4l2-apps/util/qv4l2/qv4l2.cpp
--- a/v4l2-apps/util/qv4l2/qv4l2.cpp    Mon Nov 24 13:53:22 2008 +0100
+++ b/v4l2-apps/util/qv4l2/qv4l2.cpp    Mon Nov 24 13:56:06 2008 +0100
@@ -136,13 +136,13 @@ void ApplicationWindow::selectdev(int in
        setDevice(videoDevice->text(index));
 }
 
-void ApplicationWindow::add_dirVideoDevice(char *dirname)
+void ApplicationWindow::add_dirVideoDevice(const char *dirname)
 {
        DIR             *dir;
        struct dirent   *entry;
-       char            *vid = "video";
-       char            *rad = "radio";
-       char            *vbi = "vbi";
+       const char      *vid = "video";
+       const char      *rad = "radio";
+       const char      *vbi = "vbi";
        char            name[512], *p;
 
        dir = opendir(dirname);
diff -r d276708f314d -r ef952708012b v4l2-apps/util/qv4l2/qv4l2.h
--- a/v4l2-apps/util/qv4l2/qv4l2.h      Mon Nov 24 13:53:22 2008 +0100
+++ b/v4l2-apps/util/qv4l2/qv4l2.h      Mon Nov 24 13:56:06 2008 +0100
@@ -66,7 +66,7 @@ private slots:
     void about();
 
 private:
-    void add_dirVideoDevice(char *dirname);
+    void add_dirVideoDevice(const char *dirname);
     void addTabs();
     void finishGrid(QWidget *vbox, QGrid *grid, unsigned ctrl_class, bool odd);
     void addCtrl(QGrid *grid, const struct v4l2_queryctrl &qctrl);


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/ef952708012b27562ef5f8ac38a626cc57dcc205

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to