Skip to content

Commit

Permalink
HPCC-31331 Fix compile problem in span code on some Ubuntu 20.04
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday committed Feb 23, 2024
1 parent 806aa34 commit eefc0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/jlib/jtrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ class CSpan : public CInterfaceOf<ISpan>
void setSpanAttribute(const char *name, __uint64 value) override
{
if (span && !isEmptyString(name))
span->SetAttribute(name, value);
span->SetAttribute(name, (int64_t)value); // (uint64_t) would be even better but comments in attribute_value.h indicate that it is not supported by the standard.
}

void addSpanEvent(const char * eventName, IProperties * attributes) override
Expand Down

0 comments on commit eefc0ac

Please sign in to comment.