Compilation fix OSX

Pedantic warning CLang for 64bits compiler.
This commit is contained in:
Bruno Herbelin
2023-08-12 16:01:12 +02:00
parent 793008852a
commit 3cde191afb
7 changed files with 16 additions and 12 deletions

View File

@@ -22,6 +22,7 @@
#define WINDOW_TOOLBOX_DIST_TO_BORDER 10.f
#include <iostream>
#include <sstream>
#include <iomanip>
#include <sstream>
#include <fstream>
@@ -3545,7 +3546,7 @@ void Navigator::RenderNewPannel()
ImGui::Text("Codec :");ImGui::SameLine(150);
ImGui::Text("%s", VideoRecorder::profile_name[ _video_recorder.profile() ] );
ImGui::Text("Frames :");ImGui::SameLine(150);
ImGui::Text("%ld / %ld", _video_recorder.numFrames(), _video_recorder.files().size() );
ImGui::Text("%lu / %lu", (unsigned long)_video_recorder.numFrames(), _video_recorder.files().size() );
ImGui::Spacing();
ImGui::ProgressBar(_video_recorder.progress());