video-converter: Fix undefined left shift

Cast value to target type
This commit is contained in:
Edward Hervey 2017-11-04 12:18:39 +01:00 committed by Edward Hervey
parent 2cf5d596ee
commit 31d5ac15b2

View file

@ -2175,7 +2175,7 @@ setup_borderline (GstVideoConverter * convert)
u = CLAMP (u, 0, 255);
v = CLAMP (v, 0, 255);
border_val = a | (y << 8) | (u << 16) | (v << 24);
border_val = a | (y << 8) | (u << 16) | ((guint32) v << 24);
} else {
border_val = GINT32_FROM_BE (convert->border_argb);
}