Fix printf format build warning on MIPS.
Closes #2271. Thanks to Karl Palsson.
This commit is contained in:
parent
9b25dd3b0d
commit
f952d19da1
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user