]> git.cworth.org Git - apitrace/blobdiff - common/trace_profiler.cpp
Resolve C4267 MS compiler warnings
[apitrace] / common / trace_profiler.cpp
index e9ed707e8ac3c91b3f4a629a1025022a731dd217..b7653409fb01042618017f547cc3495b48c973e9 100644 (file)
@@ -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;