Bug 1392609 Find returns an int32_t not a uint32_t
MozReview-Commit-ID: 8jBe7CGbAvM
old mode 100644
new mode 100755
--- a/xpcom/io/nsLocalFileWin.cpp
+++ b/xpcom/io/nsLocalFileWin.cpp
@@ -1200,17 +1200,17 @@ CleanupHandlerPath(nsString& aPath)
int32_t lastCommaPos = aPath.RFindChar(',');
if (lastCommaPos != kNotFound)
aPath.Truncate(lastCommaPos);
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)
index = aPath.Find(".cpl ", true);
if (index != kNotFound)
aPath.Truncate(index + 4);
aPath.Trim(" ", true, true);