Skip to content

_zstd: Fix printf format for pledged size errors #146578

@cuiweixie

Description

@cuiweixie

Problem

In zstd_contentsize_converter (Modules/_zstd/compressor.c), ValueError messages use the format specifier %ull when printing ZSTD_CONTENTSIZE_ERROR. The correct C99 format for unsigned long long is %llu; %ull is invalid.

Proposed fix

Replace %ull with %llu in both error paths.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixes3.15new features, bugs and security fixesextension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions