Paul Gofman : d3dx9: Add const qualifier to regstore_set_values() input data.
Alexandre Julliard
julliard at winehq.org
Wed Jun 14 15:44:58 CDT 2017
Module: wine
Branch: master
Commit: 607ae76ada6bbf1602341ef9e9702a8eb4859b9b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=607ae76ada6bbf1602341ef9e9702a8eb4859b9b
Author: Paul Gofman <gofmanp at 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 at gmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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)
More information about the wine-cvs
mailing list