Skip to content

src: Use PRIu64 format specifier for uint64 types#186

Merged
hreinecke merged 1 commit intolinux-nvme:masterfrom
igaw:print-format-specifier
Jan 20, 2022
Merged

src: Use PRIu64 format specifier for uint64 types#186
hreinecke merged 1 commit intolinux-nvme:masterfrom
igaw:print-format-specifier

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Jan 19, 2022

When compiling for 32bit architectures the compiler is complaining
about the wrong format specifier for uint64. Use the the PRIu64 format
specifier in this case which is supported from 32bit and 64bit.

Signed-off-by: Daniel Wagner dwagner@suse.de

Fixes: #181

When compiling for 32bit architectures the compiler is complaining
about the wrong format specifier for uint64. Use the the PRIu64 format
specifier in this case which is supported from 32bit and 64bit.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Copy link
Copy Markdown
Collaborator

@hreinecke hreinecke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay.

@hreinecke hreinecke merged commit 5aea021 into linux-nvme:master Jan 20, 2022
@igaw igaw deleted the print-format-specifier branch January 20, 2022 20:00
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.

build warnings on 32 bit architectures

3 participants