diff --git a/dlls/dswave/dswave_main.c b/dlls/dswave/dswave_main.c index c60a8133f53..a66f1be61d0 100644 --- a/dlls/dswave/dswave_main.c +++ b/dlls/dswave/dswave_main.c @@ -328,7 +328,7 @@ const char *debugstr_dmguid (const GUID *id) { if (!id) return "(null)"; for (i = 0; i < sizeof(guids)/sizeof(guids[0]); i++) { - if (IsEqualGUID(id, &guids[i].guid)) + if (IsEqualGUID(id, guids[i].guid)) return guids[i].name; } /* if we didn't find it, act like standard debugstr_guid */