Skip to content

Commit

Permalink
Merge pull request #18331 from ghalliday/issue31331
Browse files Browse the repository at this point in the history
HPCC-31331 Fix compile problem in span code on Ubuntu 20.04

Reviewed-By: Shamser Ahmed <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Feb 23, 2024
2 parents 806aa34 + eefc0ac commit eb80b9a
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 eb80b9a

Please sign in to comment.