mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
tdb: Avoid casts
We have %PRIu32 and %zu these days Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
d357141546
commit
ec209d28a2
@ -281,10 +281,10 @@ check_local_settings:
|
||||
|
||||
if (tdb_mutex_size(tdb) != header->mutex_size) {
|
||||
TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_mutex_open_ok[%s]: "
|
||||
"Mutex size changed from %u to %u\n.",
|
||||
"Mutex size changed from %"PRIu32" to %zu\n.",
|
||||
tdb->name,
|
||||
(unsigned int)header->mutex_size,
|
||||
(unsigned int)tdb_mutex_size(tdb)));
|
||||
header->mutex_size,
|
||||
tdb_mutex_size(tdb)));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user