X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Ftrace_profiler.cpp;h=b7653409fb01042618017f547cc3495b48c973e9;hb=a85c9e5b6c6be63a1c40f5be927fcec28f8255e4;hp=e9ed707e8ac3c91b3f4a629a1025022a731dd217;hpb=3297ed820e2127e96e53b84277e8012caa6114ed;p=apitrace diff --git a/common/trace_profiler.cpp b/common/trace_profiler.cpp index e9ed707..b765340 100644 --- a/common/trace_profiler.cpp +++ b/common/trace_profiler.cpp @@ -232,7 +232,7 @@ void Profiler::parseLine(const char* in, Profile* profile) } } else if (type.compare("frame_end") == 0) { Profile::Frame frame; - frame.no = profile->frames.size(); + frame.no = unsigned(profile->frames.size()); if (frame.no == 0) { frame.gpuStart = 0;