msi: Fixed definition of the MSIITERHANDLE type.

This commit is contained in:
Alexandre Julliard 2006-11-06 13:02:47 +01:00
parent 0cc74835b9
commit 36c4ec8f33
2 changed files with 3 additions and 3 deletions

View file

@ -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
{

View file

@ -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;