aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/bsod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/bsod.cpp b/main/bsod.cpp
index b32b915f..017f910f 100644
--- a/main/bsod.cpp
+++ b/main/bsod.cpp
@@ -93,7 +93,7 @@ void bsodFatal(const char *component)
break;
end = lines.rfind("/", end);
/* skip a potential prefix to the path */
- int path_prefix = lines.find("/image/", start);
+ unsigned int path_prefix = lines.find("/image/", start);
if (path_prefix != std::string::npos && ((path_prefix + 6) < end))
start = path_prefix + 6;