Skip to content

Commit

Permalink
Fix printf format build warning on MIPS.
Browse files Browse the repository at this point in the history
Closes #2271. Thanks to Karl Palsson.
  • Loading branch information
ralight committed Aug 24, 2021
1 parent 9b25dd3 commit f952d19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog.txt
Expand Up @@ -48,6 +48,7 @@ Build:
- Fix installation using WITH_TLS=no. Closes #2281.
- Fix builds with libressl 3.4.0. Closes #2198.
- Remove some unnecessary code guards related to libressl.
- Fix printf format build warning on MIPS. Closes #2271.


2.0.11 - 2021-06-08
Expand Down
2 changes: 1 addition & 1 deletion apps/db_dump/db_dump.c
Expand Up @@ -130,7 +130,7 @@ static int dump__cfg_chunk_process(FILE *db_fd, uint32_t length)
if(do_print) printf("\tShutdown: %d\n", chunk.shutdown);
if(do_print) printf("\tDB ID size: %d\n", chunk.dbid_size);
if(chunk.dbid_size != sizeof(dbid_t)){
fprintf(stderr, "Error: Incompatible database configuration (dbid size is %d bytes, expected %ld)",
fprintf(stderr, "Error: Incompatible database configuration (dbid size is %d bytes, expected %zu)",
chunk.dbid_size, sizeof(dbid_t));
fclose(db_fd);
return 1;
Expand Down

0 comments on commit f952d19

Please sign in to comment.