OSDN Git Service

compile: fix sign/unsign compare in va_trace.c
authorXu Guangxin <guangxin.xu@intel.com>
Thu, 6 Sep 2018 08:25:05 +0000 (16:25 +0800)
committerXinfengZhang <carl.zhang@intel.com>
Tue, 11 Dec 2018 03:21:20 +0000 (19:21 -0800)
Change-Id: I8d38a37dc6a8a1bf190f206ce61f3b26e2f4e887

va/va_trace.c

index 7c27b73..c266afd 100644 (file)
@@ -185,7 +185,7 @@ struct va_trace {
 #define DPY2TRACECTX(dpy, context, buf_id)                                  \
     struct va_trace *pva_trace = NULL;                                      \
     struct trace_context *trace_ctx = NULL;                                 \
-    int ctx_id = context;                                                   \
+    VAContextID ctx_id = context;                                           \
                                                                             \
     pva_trace = (struct va_trace *)(((VADisplayContextP)dpy)->vatrace);     \
     if(!pva_trace)                                                          \