Skip to content

Adjust the format specifier based on the typedef for wg_yajl_integer_t.#178

Merged
igorpeshansky merged 1 commit intostackdriver-agent-5.8.1from
igorpeshansky-utils-json
Feb 6, 2020
Merged

Adjust the format specifier based on the typedef for wg_yajl_integer_t.#178
igorpeshansky merged 1 commit intostackdriver-agent-5.8.1from
igorpeshansky-utils-json

Conversation

@igorpeshansky
Copy link
Copy Markdown

Should fix the following build error on platforms with libyajl1:

src/utils_stackdriver_json.c: In function 'summary_parse_integer':
src/utils_stackdriver_json.c:196:3: error: format '%lld' expects argument of type 'long long int', but argument 3 has type 'wg_yajl_integer_t' [-Werror=format=]
   DEBUG("integer: %lld", val);
   ^

@igorpeshansky igorpeshansky requested a review from a team February 6, 2020 21:18
@ghost ghost requested a review from jkschulz February 6, 2020 21:19
@ghost ghost removed their request for review February 6, 2020 21:19
@igorpeshansky igorpeshansky merged commit d4426e0 into stackdriver-agent-5.8.1 Feb 6, 2020
@igorpeshansky igorpeshansky deleted the igorpeshansky-utils-json branch February 6, 2020 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants