Commit 36c4ec8f authored by Alexandre Julliard's avatar Alexandre Julliard

msi: Fixed definition of the MSIITERHANDLE type.

parent 0cc74835
...@@ -109,7 +109,7 @@ typedef struct tagMSIRECORD ...@@ -109,7 +109,7 @@ typedef struct tagMSIRECORD
MSIFIELD fields[1]; /* nb. array size is count+1 */ MSIFIELD fields[1]; /* nb. array size is count+1 */
} MSIRECORD; } MSIRECORD;
typedef void *MSIITERHANDLE; typedef const struct tagMSICOLUMNHASHENTRY *MSIITERHANDLE;
typedef struct tagMSIVIEWOPS typedef struct tagMSIVIEWOPS
{ {
......
...@@ -1587,12 +1587,12 @@ static UINT TABLE_find_matching_rows( struct tagMSIVIEW *view, UINT col, ...@@ -1587,12 +1587,12 @@ static UINT TABLE_find_matching_rows( struct tagMSIVIEW *view, UINT col,
if( !*handle ) if( !*handle )
entry = tv->columns[col-1].hash_table[val % MSITABLE_HASH_TABLE_SIZE]; entry = tv->columns[col-1].hash_table[val % MSITABLE_HASH_TABLE_SIZE];
else else
entry = ((const MSICOLUMNHASHENTRY *)*handle)->next; entry = (*handle)->next;
while (entry && entry->value != val) while (entry && entry->value != val)
entry = entry->next; entry = entry->next;
*handle = (MSIITERHANDLE)entry; *handle = entry;
if (!entry) if (!entry)
return ERROR_NO_MORE_ITEMS; return ERROR_NO_MORE_ITEMS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment