- Fix multiple typos and bugs, found by PVS-Studio
[reactos.git] / reactos / dll / win32 / oleaut32 / typelib2.c
index 1333b68..5057fc6 100644 (file)
@@ -317,7 +317,7 @@ static int ctl2_find_guid(
     while (offset != -1) {
        guidentry = (MSFT_GuidEntry *)&This->typelib_segment_data[MSFT_SEG_GUID][offset];
 
-        if (IsEqualGUID(guidentry, guid)) return offset;
+        if (IsEqualGUID(*guidentry, guid)) return offset;
 
        offset = guidentry->next_hash;
     }