Skip to content

c_src/bitcask_nifs.c: pair of bad % specifiers ? #258

Description

@dcb314

c_src/bitcask_nifs.c:1006]: (warning) %u in format string (no. 6) requires 'unsigned int' but the argument type is 'unsigned long'.

Source code is

    fprintf(stderr, "sib %d \r\n\t%u\t\t%u\r\n\t%llu\t\t%u\tepoch=%u\r\n\r\n",
            sib_count, s->file_id, s->total_sz, (unsigned long long)s->offset, s->tstamp, s->epoch);

c_src/bitcask_nifs.c:1026]: (warning) %u in format string (no. 5) requires 'unsigned int' but the argument type is 'unsigned long'.

Duplicate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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