dbghelp: Constify some character strings.
This commit is contained in:
parent
9c992f8a15
commit
d066561625
|
@ -1470,7 +1470,7 @@ static BOOL elf_search_and_load_file(struct process* pcs, const WCHAR* filename,
|
|||
{
|
||||
BOOL ret = FALSE;
|
||||
struct module* module;
|
||||
static WCHAR S_libstdcPPW[] = {'l','i','b','s','t','d','c','+','+','\0'};
|
||||
static const WCHAR S_libstdcPPW[] = {'l','i','b','s','t','d','c','+','+','\0'};
|
||||
|
||||
if (filename == NULL || *filename == '\0') return FALSE;
|
||||
if ((module = module_is_already_loaded(pcs, filename)))
|
||||
|
|
|
@ -1160,7 +1160,7 @@ static BOOL macho_search_and_load_file(struct process* pcs, const WCHAR* filenam
|
|||
{
|
||||
BOOL ret = FALSE;
|
||||
struct module* module;
|
||||
static WCHAR S_libstdcPPW[] = {'l','i','b','s','t','d','c','+','+','\0'};
|
||||
static const WCHAR S_libstdcPPW[] = {'l','i','b','s','t','d','c','+','+','\0'};
|
||||
const WCHAR* p;
|
||||
|
||||
TRACE("(%p/%p, %s, 0x%08lx, %p)\n", pcs, pcs->handle, debugstr_w(filename), load_addr,
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
|
||||
WINE_DECLARE_DEBUG_CHANNEL(dbghelp_symt);
|
||||
|
||||
static WCHAR starW[] = {'*','\0'};
|
||||
static const WCHAR starW[] = {'*','\0'};
|
||||
|
||||
static inline int cmp_addr(ULONG64 a1, ULONG64 a2)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue