X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Ftools%2Fgn%2Ffilesystem_utils.cc;h=1e4194cab2c29a3594cdf14c0ac35310a0b429ea;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=56e472e7c8b88f1715129f5e7bbc059cb6056593;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/tools/gn/filesystem_utils.cc b/src/tools/gn/filesystem_utils.cc index 56e472e..1e4194c 100644 --- a/src/tools/gn/filesystem_utils.cc +++ b/src/tools/gn/filesystem_utils.cc @@ -132,7 +132,8 @@ std::vector GetPathComponents( // don't want the slash in there. This doesn't support input like "C:foo" // which means foo relative to the current directory of the C drive but // that's basically legacy DOS behavior we don't need to support. - if (result.size() >= 2 && result[1].size() == 1 && IsSlash(result[1][0])) + if (result.size() >= 2 && result[1].size() == 1 && + IsSlash(static_cast(result[1][0]))) result.erase(result.begin() + 1); #endif