Skip to content

Commit 4b2c72c

Browse files
committed
[status] Fix fec uint8_t counter output
1 parent fae724a commit 4b2c72c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CommandLineUtilities/ProgramStatus.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,11 +339,11 @@ class ProgramStatus : public Program
339339
std::cout << "Latch FEC & CRC errors: \t" << std::boolalpha << fecStatus.latchFecCrcError << std::endl;
340340
std::cout << "Slow Control Framing locked: \t" << std::boolalpha << fecStatus.slowControlFramingLocked << std::endl;
341341
std::cout << "FEC single error count: \t"
342-
<< "0x" << std::hex << fecStatus.fecSingleErrorCount << std::endl;
342+
<< "0x" << std::hex << (unsigned int)fecStatus.fecSingleErrorCount << std::endl;
343343
std::cout << "FEC double error count: \t"
344-
<< "0x" << std::hex << fecStatus.fecDoubleErrorCount << std::endl;
344+
<< "0x" << std::hex << (unsigned int)fecStatus.fecDoubleErrorCount << std::endl;
345345
std::cout << "CRC error count: \t\t"
346-
<< "0x" << std::hex << fecStatus.crcErrorCount << std::endl;
346+
<< "0x" << std::hex << (unsigned int)fecStatus.crcErrorCount << std::endl;
347347
}
348348
}
349349

0 commit comments

Comments
 (0)