Fix warning.

This commit is contained in:
Axel Naumann 2015-03-23 17:17:17 +01:00 committed by sftnight
parent 5fa5b84d2b
commit 663ebfa389

View File

@ -258,7 +258,7 @@ namespace cling {
clang::CodeGenOptions::LimitedDebugInfo,
clang::CodeGenOptions::FullDebugInfo
};
if (*mode >= sizeof(DebInfos))
if (*mode >= (int)sizeof(DebInfos))
mode = sizeof(DebInfos) - 1;
else if (*mode < 0)
mode = 0;