Skip to content

fix: fix wrong type of arguments to formatting function#46

Open
szsam wants to merge 1 commit intoTencentCloud:masterfrom
IVOES:cpp/wrong-type-format-argument
Open

fix: fix wrong type of arguments to formatting function#46
szsam wants to merge 1 commit intoTencentCloud:masterfrom
IVOES:cpp/wrong-type-format-argument

Conversation

@szsam
Copy link

@szsam szsam commented Jun 6, 2023

  • The type of timestamp is long. Thus it should be printed with '%ld'.
  • For format string "%0*d", the width specified should be of type int.

- The type of timestamp is long. Thus it should be printed with '%ld'.
- For format string "%0*d", the width specified should be of type int.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant