Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dcb314 opened this issue Apr 11, 2018 · 0 comments
Open

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

dcb314 opened this issue Apr 11, 2018 · 0 comments

Comments

@dcb314
Copy link

dcb314 commented Apr 11, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant