Signed-off-by: Marcus Meissner marcus@jet.franken.de --- dlls/quartz/tests/filtermapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/quartz/tests/filtermapper.c b/dlls/quartz/tests/filtermapper.c index 7b6a018ece..2f82ce0ccf 100644 --- a/dlls/quartz/tests/filtermapper.c +++ b/dlls/quartz/tests/filtermapper.c @@ -241,7 +241,7 @@ static void test_legacy_filter_registration(void) /* Register* functions need a filter class key to write pin and pin media * type data to. Create a bogus class key for it. */ CoCreateGuid(&clsid); - StringFromGUID2(&clsid, clsidstring, sizeof(clsidstring)); + StringFromGUID2(&clsid, clsidstring, ARRAY_SIZE(clsidstring)); lstrcpyW(key_name, clsidW); lstrcatW(key_name, clsidstring); ret = RegCreateKeyExW(HKEY_CLASSES_ROOT, key_name, 0, NULL, 0, KEY_WRITE, NULL, &hkey, NULL);