Bug 1392609 Find returns an int32_t not a uint32_t r=froydnj

MozReview-Commit-ID: 8jBe7CGbAvM

--HG--
extra : rebase_source : f8f9963118658174e11364f2aed958dfe3a0cea7
This commit is contained in:
Tom Ritter 2017-08-22 06:21:09 -05:00
Родитель e5ca3874f4
Коммит 8760e71649
1 изменённых файлов: 1 добавлений и 1 удалений

2
xpcom/io/nsLocalFileWin.cpp Normal file → Executable file
Просмотреть файл

@ -1205,7 +1205,7 @@ CleanupHandlerPath(nsString& aPath)
aPath.Append(' ');
// case insensitive
uint32_t index = aPath.Find(".exe ", true);
int32_t index = aPath.Find(".exe ", true);
if (index == kNotFound)
index = aPath.Find(".dll ", true);
if (index == kNotFound)