d3dx9: Add const qualifier to regstore_set_values() input data.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2017-06-12 14:22:01 +03:00 committed by Alexandre Julliard
parent 45b0add678
commit 607ae76ada
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ static void regstore_set_modified(struct d3dx_regstore *rs, unsigned int table,
get_reg_offset(table, start_offset + count - 1));
}
static void regstore_set_values(struct d3dx_regstore *rs, unsigned int table, void *data,
static void regstore_set_values(struct d3dx_regstore *rs, unsigned int table, const void *data,
unsigned int start_offset, unsigned int count)
{
if (!count)