From d958316922ea7fc2f5022881435ad67da673192e Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 28 May 2016 14:43:12 -0400 Subject: code maintenance: debug: change type of 'char *' parameters to 'const char *'. --- src/internal/ntapi_debug.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/internal/ntapi_debug.c b/src/internal/ntapi_debug.c index 4d4a695..3d11faa 100644 --- a/src/internal/ntapi_debug.c +++ b/src/internal/ntapi_debug.c @@ -39,11 +39,11 @@ ssize_t __cdecl __dbg_write( int32_t __cdecl __dbg_fn_call( __in void * hfile __optional, - __in char * fn_caller_name, + __in const char * fn_caller_name, __in void * fn_callee_addr, __in uintptr_t fn_ret, __in ntapi_dbg_write* pfn_dbg_write __optional, - __in char * source __optional, + __in const char * source __optional, __in int line __optional) { struct pe_ldr_tbl_entry * image_meta; @@ -113,10 +113,10 @@ int32_t __cdecl __dbg_fn_call( int32_t __cdecl __dbg_msg( __in void * hfile __optional, - __in char * source __optional, + __in const char * source __optional, __in int line __optional, - __in char * fn_caller_name, - __in char * fmt, + __in const char * fn_caller_name, + __in const char * fmt, __in uintptr_t arg1, __in uintptr_t arg2, __in uintptr_t arg3, -- cgit v1.2.3