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

Aaron Plattner aplattner at nvidia.com
Mon Sep 8 20:40:24 PDT 2014


On 09/08/2014 08:01 AM, Stephen Warren wrote:
> 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>

Pushed:
    a5c724f..a2386ec  master -> master




More information about the VDPAU mailing list