hardware/intel/common/libva
Revision | f48f213c58d119f125ddc48b55166fc13acb4b7c (tree) |
---|---|
Time | 2018-12-11 12:21:20 |
Author | Xu Guangxin <guangxin.xu@inte...> |
Commiter | XinfengZhang |
compile: fix sign/unsign compare in va_trace.c
Change-Id: I8d38a37dc6a8a1bf190f206ce61f3b26e2f4e887
@@ -185,7 +185,7 @@ struct va_trace { | ||
185 | 185 | #define DPY2TRACECTX(dpy, context, buf_id) \ |
186 | 186 | struct va_trace *pva_trace = NULL; \ |
187 | 187 | struct trace_context *trace_ctx = NULL; \ |
188 | - int ctx_id = context; \ | |
188 | + VAContextID ctx_id = context; \ | |
189 | 189 | \ |
190 | 190 | pva_trace = (struct va_trace *)(((VADisplayContextP)dpy)->vatrace); \ |
191 | 191 | if(!pva_trace) \ |