1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Fix a compiler warning

(This used to be ctdb commit 8825a8e3936e4ddfc1482d07a63a620249f01fe7)
This commit is contained in:
Ronnie Sahlberg 2010-04-08 14:28:52 +10:00
parent 06885ea9a7
commit dec6ad765a

View File

@ -1906,7 +1906,7 @@ int ctdb_dumpdb_record(struct ctdb_context *ctdb, TDB_DATA key, TDB_DATA data, v
fprintf(f, "dmaster: %u\n", h->dmaster);
fprintf(f, "rsn: %llu\n", (unsigned long long)h->rsn);
fprintf(f, "data(%u) = \"", (unsigned)data.dsize - sizeof(*h));
fprintf(f, "data(%u) = \"", (unsigned)(data.dsize - sizeof(*h)));
for (i=sizeof(*h);i<data.dsize;i++) {
if (ISASCII(data.dptr[i])) {
fprintf(f, "%c", data.dptr[i]);