Paul Gofman : d3dx9: Add const qualifier to regstore_set_values() input data.
Module: wine Branch: master Commit: 607ae76ada6bbf1602341ef9e9702a8eb4859b9b URL: http://source.winehq.org/git/wine.git/?a=commit;h=607ae76ada6bbf1602341ef9e9... Author: Paul Gofman <gofmanp(a)gmail.com> Date: Mon Jun 12 14:22:01 2017 +0300 d3dx9: Add const qualifier to regstore_set_values() input data. Signed-off-by: Paul Gofman <gofmanp(a)gmail.com> Signed-off-by: Matteo Bruni <mbruni(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/d3dx9_36/preshader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3dx9_36/preshader.c b/dlls/d3dx9_36/preshader.c index 126f3cc..e9c8387 100644 --- a/dlls/d3dx9_36/preshader.c +++ b/dlls/d3dx9_36/preshader.c @@ -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)
participants (1)
-
Alexandre Julliard