Skip to content

Commit

Permalink
resolving Null issue of span
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianlin-Zhao committed Aug 20, 2020
1 parent 3eb1d6a commit a0e2f23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class HttpTraceContext : public HTTPTextFormat<T>
const nostd::string_view span_key = "current-span";
context::Context ctx(context);
context::ContextValue span = ctx.GetValue(span_key);
if ((int)span == 0)
if ((int64_t)span == 0)
{
return;
}
Expand Down

0 comments on commit a0e2f23

Please sign in to comment.