From f725f69a31fb6f6a08f4ee8c7a623bb0e27db066 Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 2 Apr 2009 18:49:51 +0200 Subject: [PATCH] bsod.cpp: fix compiler warning --- main/bsod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/bsod.cpp b/main/bsod.cpp index b32b915..017f910 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; -- 2.7.4