From: Louis Lenders xerox.xerox2000x@gmail.com
--- dlls/wbemprox/builtin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c index 11a4885381b..1c68e5257ae 100644 --- a/dlls/wbemprox/builtin.c +++ b/dlls/wbemprox/builtin.c @@ -1665,7 +1665,7 @@ typedef struct BYTE SMBIOSTableData[]; } RawSMBIOSData;
-static struct array *get_rawbiosdata( RawSMBIOSData *buf, UINT len ) +static struct array *get_rawbiosdata( char *buf, UINT len ) { struct array *ret; UINT8 *ptr; @@ -1697,7 +1697,7 @@ static enum fill_status fill_rawbiosdata( struct table *table, const struct expr GetSystemFirmwareTable( RSMB, 0, buf, len );
rec = (struct record_rawsmbiostables *)table->data; - rec->smbiosdata = get_rawbiosdata( buf + FIELD_OFFSET( RawSMBIOSData, SMBIOSTableData ), buf->Length ); + rec->smbiosdata = get_rawbiosdata( (char *)buf + FIELD_OFFSET( RawSMBIOSData, SMBIOSTableData ), buf->Length );
if (!match_row( table, row, cond, &status )) free_row_values( table, row ); else row++;