Skip to content

Commit

Permalink
removed pointer addition, replaced with loop variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianlin-Zhao committed Aug 20, 2020
1 parent 2e813fb commit 017e470
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class HttpTraceContext : public HTTPTextFormat<T>
uint8_t buf[kSpanIdBytes / 2];
for (int i = 0; i < kSpanIdBytes; i++)
{
int tmp = CharToInt(*spn_id[i]);
int tmp = CharToInt(spn_id[i]);
if (tmp < 0)
{
for (int j = 0; j < kSpanIdBytes / 2; j++)
Expand Down

0 comments on commit 017e470

Please sign in to comment.