Skip to content

Commit

Permalink
Merge pull request #311 from odin-detector/fix-build
Browse files Browse the repository at this point in the history
Fix build on newer compilers
  • Loading branch information
GDYendell authored Jun 8, 2023
2 parents 2c3f5a1 + bf62d1a commit b1236c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/frameProcessor/src/Acquisition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ std::string Acquisition::generate_filename(size_t file_number) {
size_t file_index = file_number + starting_file_index_;

char number_string[7];
snprintf(number_string, 7, "%06u", file_index);
snprintf(number_string, 7, "%06zu", file_index);
if (!configured_filename_.empty())
{
generated_filename << configured_filename_ << file_postfix_;
Expand Down
2 changes: 1 addition & 1 deletion cpp/frameProcessor/src/LiveViewPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ void LiveViewPlugin::set_socket_addr_config(std::string value)
LOG4CXX_INFO(logger_, "Setting Live View Socket Address to " << image_view_socket_addr_);
publish_socket_.bind(image_view_socket_addr_);
is_bound_ = true;
LOG4CXX_INFO(logger_, "Live View Socket bound successfully")
LOG4CXX_INFO(logger_, "Live View Socket bound successfully");
}
catch(zmq::error_t& e)
{
Expand Down
2 changes: 1 addition & 1 deletion cpp/frameSimulator/src/FrameSimulatorPluginUDP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ namespace FrameSimulator {
LOG4CXX_DEBUG(logger_, "pcap file is not specified: simulating packets");
}
else {
LOG4CXX_DEBUG(logger_, "Replaying pcap file")
LOG4CXX_DEBUG(logger_, "Replaying pcap file");
}

// Optional arguments
Expand Down

0 comments on commit b1236c7

Please sign in to comment.