Commit a52bbd19 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Linux DVB: fix memset() size

Pointed-out-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent fe5df3d5
...@@ -621,7 +621,7 @@ static int dvb_vset_props (dvb_device_t *d, size_t n, va_list ap) ...@@ -621,7 +621,7 @@ static int dvb_vset_props (dvb_device_t *d, size_t n, va_list ap)
struct dtv_property buf[n], *prop = buf; struct dtv_property buf[n], *prop = buf;
struct dtv_properties props = { .num = n, .props = buf }; struct dtv_properties props = { .num = n, .props = buf };
memset (prop, 0, sizeof (prop)); memset (buf, 0, sizeof (buf));
while (n > 0) while (n > 0)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment