Skip to content

Commit

Permalink
Fix warnings on gcc 11.5
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwbrei committed Nov 26, 2024
1 parent 22c685c commit 784615a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/libraries/JANA/Engine/JExecutionEngine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,7 @@ std::string ToString(JExecutionEngine::RunStatus runstatus) {
case JExecutionEngine::RunStatus::Pausing: return "Pausing";
case JExecutionEngine::RunStatus::Draining: return "Draining";
case JExecutionEngine::RunStatus::Finished: return "Finished";
default: return "CorruptedRunStatus";
}
}

2 changes: 1 addition & 1 deletion src/programs/unit_tests/Components/BarrierEventTests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "JANA/Utils/JBenchUtils.h"
#include "catch.hpp"

int global_resource = 0;
size_t global_resource = 0;


struct BarrierSource : public JEventSource {
Expand Down

0 comments on commit 784615a

Please sign in to comment.