diff options
author | Rhys Kidd <rhyskidd@gmail.com> | 2019-01-20 14:50:35 -0500 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2019-01-20 21:09:30 -0500 |
commit | dbba3246c989a88f8ba5b0c906af58779bef0cdd (patch) | |
tree | b9a3c898a349a286cf0d718d1263e65d1dbb222e /src/nv_include.h | |
parent | cc284803fd75e0e340a5481342e0d0f7a5d7fa15 (diff) | |
download | xorg-driver-xf86-video-nouveau-dbba3246c989a88f8ba5b0c906af58779bef0cdd.tar.gz |
xv: Silence build warning regarding const qualifier
Silences warning with gcc 8.2:
nouveau_xv.c: In function ‘NVInitVideo’:
nouveau_xv.c:2247:68: warning: passing argument 2 of ‘vlCreateAdaptorXvMC’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
adaptorsXvMC[0] = vlCreateAdaptorXvMC(pScreen, textureAdaptor[0]->name);
~~~~~~~~~~~~~~~~~^~~~~~
In file included from nouveau_xv.c:42:
vl_hwmc.h:6:63: note: expected ‘char *’ but argument is of type ‘const char *’
XF86MCAdaptorPtr vlCreateAdaptorXvMC(ScreenPtr pScreen, char *xv_adaptor_name);
~~~~~~^~~~~~~~~~~~~~~
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/nv_include.h')
0 files changed, 0 insertions, 0 deletions