Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/patch/fddaq-v4.4.x' into kbiery/…
Browse files Browse the repository at this point in the history
…tpsw_ignore_late_tps
  • Loading branch information
Kurt Biery committed Jul 2, 2024
2 parents 24e2fac + 7e8f0cf commit 2fb64b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/apps/HDF5LIBS_TestDumpRecord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ main(int argc, char** argv)
if (input_low != 0) { // Skip printing the positions if the value is 0.
ss << ", Input Low Bit Positions = ";
bit_sniff = 1;
for (bit_pos = 0; bit_pos < 32, num_bits > 0; bit_pos++) {
for (bit_pos = 0; bit_pos < 32 && num_bits > 0; bit_pos++) {
if (input_low & bit_sniff) {
if (num_bits == 1)
ss << bit_pos;
Expand All @@ -293,7 +293,7 @@ main(int argc, char** argv)
if (input_high != 0) {
ss << ", Input High Bit Positions = ";
bit_sniff = 1;
for (bit_pos = 0; bit_pos < 32, num_bits > 0; bit_pos++) {
for (bit_pos = 0; bit_pos < 32 && num_bits > 0; bit_pos++) {
if (input_high & bit_sniff) {
if (num_bits == 1)
ss << bit_pos;
Expand Down

0 comments on commit 2fb64b9

Please sign in to comment.