diff options
author | Christopher Faylor <me@cgf.cx> | 2010-05-18 18:30:51 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-05-18 18:30:51 +0400 |
commit | d3258e063cb0a4fc77a76df3c91ba9841ca4971c (patch) | |
tree | 2921ded7329f12667d439c207fa81f15575dba14 /winsup/cygwin/registry.cc | |
parent | c8bd391c328c8650a93388f5cb3409c3740ee963 (diff) |
* environ.cc (regopt): Change the first argument to wide char string.
(environ_init): Accommodate change to the first argument of regopt.
* exception.cc (open_stackdumpfile): Accommodate change to the type of progname
in _pinfo.
* external.cc (fillout_pinfo): Ditto.
* fhandler_process.cc (format_process_winexename): Ditto.
(format_process_stat): Ditto.
* fork.cc (fork::parent): Ditto.
* pinfo.cc (pinfo_basic::pinfo_basic): Call GetModuleFileNameW instead of
GetModuleFileName.
(pinfo::thisproc): Accommodate change to the type of progname in _pinfo.
(pinfo_init): Ditto.
* pinfo.h (_pinfo): Change the type of progname to a wide char array.
* registry.h (reg_key::get_int): Change the first argument from constant point
to pointer to constant.
(reg_key::get_string): Ditto. Change the last argument likewise.
* registry.cc (reg_key::get_int): Accommodate change to the declaration.
(reg_key::get_string): Ditto.
* strace.cc (strace::hello): Accommodate change to the type of progname in
_pinfo.
(strace::vsprntf): Ditto.
Diffstat (limited to 'winsup/cygwin/registry.cc')
-rw-r--r-- | winsup/cygwin/registry.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/registry.cc b/winsup/cygwin/registry.cc index c71ff7902..5f65603d8 100644 --- a/winsup/cygwin/registry.cc +++ b/winsup/cygwin/registry.cc @@ -123,7 +123,7 @@ reg_key::get_int (const char *name, int def) } int -reg_key::get_int (const PWCHAR name, int def) +reg_key::get_int (const WCHAR *name, int def) { DWORD type; DWORD dst; @@ -185,7 +185,7 @@ reg_key::get_string (const char *name, char *dst, size_t max, const char *def) } int -reg_key::get_string (const PWCHAR name, PWCHAR dst, size_t max, const PWCHAR def) +reg_key::get_string (const WCHAR *name, PWCHAR dst, size_t max, const WCHAR *def) { DWORD size = max; DWORD type; |