diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-29 22:06:58 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-29 22:06:58 -0800 |
commit | 3b8a4e56b0af8461f0f2f4c9469aba0e5a7536ba (patch) | |
tree | 6c8421d0c496d9e22fbfc2da07a0d22d50800373 /parse_util.cpp | |
parent | 966cd6a8ca5f4fa2257f8baa9ccc5a173762658b (diff) |
A bunch of work to move towards a sane memory model in job_t
Diffstat (limited to 'parse_util.cpp')
-rw-r--r-- | parse_util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/parse_util.cpp b/parse_util.cpp index 90b60997..759c50e4 100644 --- a/parse_util.cpp +++ b/parse_util.cpp @@ -600,11 +600,11 @@ void parse_util_token_extent( const wchar_t *buff, } -void parse_util_set_argv( wchar_t **argv, const wcstring_list_t &named_arguments ) +void parse_util_set_argv( const wchar_t * const *argv, const wcstring_list_t &named_arguments ) { if( *argv ) { - wchar_t **arg; + const wchar_t * const *arg; string_buffer_t sb; sb_init( &sb ); @@ -627,7 +627,7 @@ void parse_util_set_argv( wchar_t **argv, const wcstring_list_t &named_arguments if( named_arguments.size() ) { - wchar_t **arg; + const wchar_t * const *arg; size_t i; for( i=0, arg=argv; i < named_arguments.size(); i++ ) |