Skip to content

Warnings when compiling main.cpp need to be addressed #1

@suraj44

Description

@suraj44
main.cpp:141:42: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
             printf("%x ", hope[k].address);
                                          ^
main.cpp:175:80: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long unsigned int> >::value_type {aka long unsigned int}’ [-Wformat=]
                 printf("0x%x: %x ", trie_addresses[i][j] ,trie_gadgets[i][j][k]);
                                                                                ^
main.cpp:186:60: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
     printf("%x ", trie.search({{0,0}, {93}, {195}}, result));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions