[VDPAU] [PATCH] vdpau_trace: Fix GCC 4.8 build warnings

Stephen Warren swarren at nvidia.com
Mon Sep 8 08:01:07 PDT 2014


Robert Morell wrote at Friday, September 05, 2014 8:16 PM:
> vdpau_trace.cpp: In function 'void _vdp_cap_dump_video_mixer_attribute_value(VdpVideoMixerAttribute,
> const void*, bool)':
> vdpau_trace.cpp:539:48: error: cast from type 'const void*' to type 'const float (**)[3][4]' casts
> away qualifiers [-Werror=cast-qual]
>                  ptr = *(VdpCSCMatrix const * *)value;
>                                                 ^
> vdpau_trace.cpp: In function 'void _vdp_cap_dump_bitstream_buffer_list(uint32_t, const
> VdpBitstreamBuffer*)':
> vdpau_trace.cpp:1175:52: error: cast from type 'const void* const' to type 'uint8_t* {aka unsigned
> char*}' casts away qualifiers [-Werror=cast-qual]
>              uint8_t * ptr = (uint8_t * )buffers[0].bitstream;

Reviewed-by: Stephen Warren <swarren at nvidia.com>

-- 
nvpublic



More information about the VDPAU mailing list