More const and signed correctness. Warnings now fit on one page!

This commit is contained in:
Peter Ammon
2012-01-14 22:48:53 -08:00
parent 9b133a978d
commit 60d1ac4fec
8 changed files with 20 additions and 25 deletions

View File

@@ -1087,10 +1087,10 @@ static int wildcard_expand_internal( const wchar_t *wc,
*/
if( whole_match )
{
wchar_t *new_wc = L"";
const wchar_t *new_wc = L"";
if( wc_end )
{
new_wc=const_cast<wchar_t*>(wc_end+1);
new_wc=wc_end+1;
/*
Accept multiple '/' as a single direcotry separator
*/