diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-09-10 02:49:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-09-10 02:49:46 +0300 |
commit | 111670f3145dd2e388daf4867955309d056fee75 (patch) | |
tree | 325f46c0b6e32601d3484bc4a8215d76ce17f421 /src/utils/perfstat.cpp | |
parent | 82aebd59872d5d59327c73fe4c52dbef312bbef9 (diff) | |
download | plus-111670f3145dd2e388daf4867955309d056fee75.tar.gz plus-111670f3145dd2e388daf4867955309d056fee75.tar.bz2 plus-111670f3145dd2e388daf4867955309d056fee75.tar.xz plus-111670f3145dd2e388daf4867955309d056fee75.zip |
Fix cast issues.
Diffstat (limited to 'src/utils/perfstat.cpp')
-rw-r--r-- | src/utils/perfstat.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/perfstat.cpp b/src/utils/perfstat.cpp index d8f3d1e67..5cce98045 100644 --- a/src/utils/perfstat.cpp +++ b/src/utils/perfstat.cpp @@ -20,6 +20,8 @@ #include "utils/perfstat.h" +#include "utils/cast.h" + #include "logger.h" #include "debug.h" @@ -90,7 +92,7 @@ namespace Perf if (time1 > time) { time = time1; - index = f; + index = CAST_S32(f); } } if (index >= 0) |