encoder: h264: casts slice_param->slice_type
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 3 Apr 2015 18:33:44 +0000 (20:33 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 8 Apr 2015 14:20:55 +0000 (16:20 +0200)
commit7c71f057b406d0922e92cb3a59e91747aee7bcb2
treede72103ae769b2a574df884adc9f9c3428675d6b
parentb1bbc087c1d00a30910673a61b2872cd629c9663
encoder: h264: casts slice_param->slice_type

slice_type in slice_param is defined as (char *), but it is compared against a
signed integer. clang complains about this comparison.

This patch casts the variable.

https://bugzilla.gnome.org/show_bug.cgi?id=747312
gst-libs/gst/vaapi/gstvaapiencoder_h264.c