Skip to content

An error occurred while building #5462

@mengxin9014

Description

@mengxin9014

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Normal building TiFlash.

2. What did you expect to see? (Required)

Successful build

3. What did you see instead (Required)

error: format specifies type 'unsigned long' but the argument has type 'DB::UInt64' (aka 'unsigned long long') [-Werror,-Wformat]
            int print_size = sprintf(reinterpret_cast<char *>(&res_chars[prev_res_offset]), "%lX", number);

4. What is your TiFlash version? (Required)

TiFlash version: master
Compiler version: Apple clang version 13.1.6 (clang-1316.0.21.2.5)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions