ntdll/tests: Remove an inappropriate const qualifier.

Francois Gouget fgouget at free.fr
Sun May 27 18:13:24 CDT 2007


The handler parameter is assigned to a non-const struct field which 
causes a warning in Visual C++. What's strange is that gcc did not 

 dlls/ntdll/tests/exception.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 83613f7..c59a5bb 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -174,7 +174,7 @@ static const struct exception
 static int got_exception;
 static BOOL have_vectored_api;
-static void run_exception_test(const void *handler, const void* context,
+static void run_exception_test(void *handler, const void* context,
                                const void *code, unsigned int code_size)
     struct {

More information about the wine-patches mailing list