msi: Fixed definition of the MSIITERHANDLE type.
This commit is contained in:
parent
0cc74835b9
commit
36c4ec8f33
|
@ -109,7 +109,7 @@ typedef struct tagMSIRECORD
|
|||
MSIFIELD fields[1]; /* nb. array size is count+1 */
|
||||
} MSIRECORD;
|
||||
|
||||
typedef void *MSIITERHANDLE;
|
||||
typedef const struct tagMSICOLUMNHASHENTRY *MSIITERHANDLE;
|
||||
|
||||
typedef struct tagMSIVIEWOPS
|
||||
{
|
||||
|
|
|
@ -1587,12 +1587,12 @@ static UINT TABLE_find_matching_rows( struct tagMSIVIEW *view, UINT col,
|
|||
if( !*handle )
|
||||
entry = tv->columns[col-1].hash_table[val % MSITABLE_HASH_TABLE_SIZE];
|
||||
else
|
||||
entry = ((const MSICOLUMNHASHENTRY *)*handle)->next;
|
||||
entry = (*handle)->next;
|
||||
|
||||
while (entry && entry->value != val)
|
||||
entry = entry->next;
|
||||
|
||||
*handle = (MSIITERHANDLE)entry;
|
||||
*handle = entry;
|
||||
if (!entry)
|
||||
return ERROR_NO_MORE_ITEMS;
|
||||
|
||||
|
|
Loading…
Reference in New Issue