Skip to content

Commit 6a37cb4

Browse files
shahor02ktf
authored andcommitted
suppress compilation warnings
to suppress [-Wformat=] warnings: format %d expects argument of type int, but argument 2 has type long..
1 parent 4abc548 commit 6a37cb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Detectors/TOF/reconstruction/src/Decoder.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,9 @@ void Decoder::printHitInfo(int icru) const
323323
void Decoder::printRDH() const
324324
{
325325
printf("______RDH_INFO_____\n");
326-
printf("VERSION = %d\n", mRDH->version);
327-
printf("BLOCK LENGTH = %d\n", mRDH->blockLength);
328-
printf("HEADER SIZE = %d\n", mRDH->headerSize);
326+
printf("VERSION = %d\n", int(mRDH->version));
327+
printf("BLOCK LENGTH = %d\n", int(mRDH->blockLength));
328+
printf("HEADER SIZE = %d\n", int(mRDH->headerSize));
329329
printf("MEMORY SIZE = %d\n", mRDH->memorySize);
330330
printf("PACKET COUNTER= %d\n", mRDH->packetCounter);
331331
printf("CRU ID = %d\n", mRDH->cruID);

0 commit comments

Comments
 (0)