git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bsod.cpp: fix compiler warning
[enigma2.git]
/
main
/
bsod.cpp
diff --git
a/main/bsod.cpp
b/main/bsod.cpp
index b32b915f1d1ace7605b6e8832cd8261d7132c230..017f910f59a7e391b93f19d24976a1bfe12ac6f0 100644
(file)
--- 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 */
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;
if (path_prefix != std::string::npos && ((path_prefix + 6) < end))
start = path_prefix + 6;