mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +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) {
|
if (tdb_mutex_size(tdb) != header->mutex_size) {
|
||||||
TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_mutex_open_ok[%s]: "
|
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,
|
tdb->name,
|
||||||
(unsigned int)header->mutex_size,
|
header->mutex_size,
|
||||||
(unsigned int)tdb_mutex_size(tdb)));
|
tdb_mutex_size(tdb)));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user