diff options
author | Frank Huang <frankr.huang@amd.com> | 2010-08-09 10:43:27 +0800 |
---|---|---|
committer | Martin-Éric Racine <q-funk@iki.fi> | 2010-08-09 08:24:23 +0300 |
commit | 7a523acf985771b2bd45f5d2823c217cd9075b1e (patch) | |
tree | 92b4f0e6150789a1182f0359a60361023ab382f2 | |
parent | ebe43da32226eb7bc3ef758c43eff85ac8b8baef (diff) |
Correct two outstanding compiler warnings
*Correct the type from "Q_WORD" to "QQ_WORD" in panel.c
*Correct the tyep from "char" to "const char" in z4l.c
Signed-off-by: Frank Huang <frankr.huang@amd.com>
-rw-r--r-- | src/panel/gx2_9211.c | 2 | ||||
-rw-r--r-- | src/z4l.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/panel/gx2_9211.c b/src/panel/gx2_9211.c index a60264d..7d46b9c 100644 --- a/src/panel/gx2_9211.c +++ b/src/panel/gx2_9211.c @@ -193,7 +193,7 @@ set_Redcloud_92xx_mode_params(int mode) CS92xx_MODE *pMode = &FPModeParams[mode]; unsigned long temp_data = 0; unsigned long base_data; - Q_WORD msrValue; + QQ_WORD msrValue; /* on a Redcloud, we need to set up the DF pad select MSR */ if (gfx_msr_read(RC_ID_DF, GX2_VP_MSR_PAD_SELECT, &msrValue) == FOUND) { @@ -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", |