From: Brendan Shanks bshanks@codeweavers.com
--- dlls/qcap/qcap_private.h | 1 + dlls/qcap/v4l.c | 4 ++++ 2 files changed, 5 insertions(+)
diff --git a/dlls/qcap/qcap_private.h b/dlls/qcap/qcap_private.h index 8b213671775..c9119b6a52e 100644 --- a/dlls/qcap/qcap_private.h +++ b/dlls/qcap/qcap_private.h @@ -141,6 +141,7 @@ enum unix_funcs unix_get_prop, unix_set_prop, unix_read_frame, + unix_funcs_count };
#endif diff --git a/dlls/qcap/v4l.c b/dlls/qcap/v4l.c index b2ccaa6c53e..134c3eca9e1 100644 --- a/dlls/qcap/v4l.c +++ b/dlls/qcap/v4l.c @@ -593,6 +593,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = v4l_device_read_frame, };
+C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count ); + #ifdef _WIN64
typedef ULONG PTR32; @@ -857,6 +859,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = wow64_v4l_device_read_frame, };
+C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count ); + #endif /* _WIN64 */
#endif /* HAVE_LINUX_VIDEODEV2_H */
This merge request was approved by Zebediah Figura.