aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xvmc/xvmc_private.h
diff options
context:
space:
mode:
authorJan Vesely <[email protected]>2014-12-02 15:14:16 -0500
committerChristian König <[email protected]>2014-12-03 17:07:08 +0100
commita2f2eebfdfb9c19e45792101fc5cad3dd3f0f4d6 (patch)
tree4f8f938604092ff8708420071af4efbc9b41f89f /src/gallium/state_trackers/xvmc/xvmc_private.h
parent712a4c5438d0ce257344b5196c20ad7929b54a0e (diff)
st/xvmc: Fix compiler warnings
Mostly signed/unsigned comparison Signed-off-by: Jan Vesely <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xvmc/xvmc_private.h')
-rw-r--r--src/gallium/state_trackers/xvmc/xvmc_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/xvmc/xvmc_private.h b/src/gallium/state_trackers/xvmc/xvmc_private.h
index eaf388ad8c3..84c7b6cba0b 100644
--- a/src/gallium/state_trackers/xvmc/xvmc_private.h
+++ b/src/gallium/state_trackers/xvmc/xvmc_private.h
@@ -69,7 +69,7 @@ typedef struct
struct pipe_video_buffer *video_buffer;
/* nonzero if this picture is already being decoded */
- int picture_structure;
+ unsigned picture_structure;
XvMCSurface *ref[2];
@@ -106,7 +106,7 @@ typedef struct
#define XVMC_WARN 2
#define XVMC_TRACE 3
-static INLINE void XVMC_MSG(unsigned int level, const char *fmt, ...)
+static INLINE void XVMC_MSG(int level, const char *fmt, ...)
{
static int debug_level = -1;