Skip to content

Commit 1fed12f

Browse files
committed
Fix event formatting
1 parent ca59da4 commit 1fed12f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Event.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@ std::string Event::toString() const
7070
ss << std::setw(8) << std::hex << getHash() << "\"";
7171
else
7272
ss << std::setw(16) << std::hex << getHash() << "\"";
73+
74+
ss << std::dec;
7375
}
7476

7577
if (getType() == BLOCK_INFO) {
7678
ss << ", \"offset\":" << getOffset();
77-
ss << ", \"skipFlags\": ";
79+
ss << ", \"skipFlags\":";
7880

7981
for (int i = 128; i >= 1; i >>= 1)
8082
ss << ((_skipFlags & i) == 0 ? "0" : "1");

0 commit comments

Comments
 (0)