Skip to content

Compile fails when compiling with -Wformat #344

@akmistry

Description

@akmistry

On a 64-bit Linux system, compilation fails when compiling with -Wformat:
../../third_party/minizip/src/mz_zip.c:671:13: error: format specifies type 'unsigned long long' but the argument has type 'int64_t' (aka 'long') [-Werror,-Wformat]
file_info->disk_offset);

effc142 made printf non-portable. inttypes.h is the C99 way of portably formatting integers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilationIssues related to compiling source code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions