Skip to content

appdata: Fix sscanf format mismatch for date parsing - #6849

Merged
swick merged 1 commit into
flatpak:mainfrom
kylin-liwn:fix/sscanf-format-mismatch-appdata
Sep 22, 2026
Merged

swick merged 1 commit into
flatpak:mainfrom
kylin-liwn:fix/sscanf-format-mismatch-appdata

Conversation

@kylin-liwn

Copy link
Copy Markdown

The variables d, m, y are declared as 'int', but the format string used '%u' which expects 'unsigned int *'. Change to '%d' to match the actual argument type.

Detected by GCC -Wformat when building with warning_level=3.

The variables d, m, y are declared as 'int', but the format string
used '%u' which expects 'unsigned int *'. Change to '%d' to match
the actual argument type.

Detected by GCC -Wformat when building with warning_level=3.
@swick
swick added this pull request to the merge queue Sep 22, 2026
Merged via the queue into flatpak:main with commit 1088efa Sep 22, 2026
11 checks passed
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.

2 participants