summaryrefslogtreecommitdiff
path: root/src/z4l.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/z4l.c')
-rw-r--r--src/z4l.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/z4l.c b/src/z4l.c
index 3935962..1bad0d8 100644
--- a/src/z4l.c
+++ b/src/z4l.c
@@ -1184,7 +1184,7 @@ Z4lSetPortAttribute(ScrnInfoPtr pScrni, Atom attribute, INT32 value,
XF86AttributePtr attr;
struct v4l2_control ctrl;
int i, nattrs, attrId, val;
- char *name = NameForAtom(attribute);
+ const char *name = NameForAtom(attribute);
int old_fd = pPriv->fd;
DBLOG(1, "Z4lSetPortAttribute(%#lx,%d) '%s'\n", (unsigned long)attribute,
@@ -1245,7 +1245,7 @@ Z4lGetPortAttribute(ScrnInfoPtr pScrni, Atom attribute, INT32 * value,
XF86AttributePtr attr;
struct v4l2_control ctrl;
int i, nattrs, attrId, val;
- char *name = NameForAtom(attribute);
+ const char *name = NameForAtom(attribute);
int old_fd = pPriv->fd;
DBLOG(1, "Z4lGetPortAttribute(%#lx) '%s'\n",