summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-07-20 15:12:07 -0700
committerJeremy Allison <jra@samba.org>2010-07-20 15:12:07 -0700
commit8df0f0e49e1a91fa10edd65582aa43020e6bc101 (patch)
treeb377f846d9cf92bac6ac41a092a12b9e3648e5d2
parentcce19c51625e2d73a541bbdfcc549f5a63c26abe (diff)
downloadsamba-8df0f0e49e1a91fa10edd65582aa43020e6bc101.tar.gz
samba-8df0f0e49e1a91fa10edd65582aa43020e6bc101.tar.bz2
samba-8df0f0e49e1a91fa10edd65582aa43020e6bc101.zip
Fix warning on 64-bit machines.
Jeremy.
-rw-r--r--source3/lib/serverid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c
index fc17b4a680..5523eca690 100644
--- a/source3/lib/serverid.c
+++ b/source3/lib/serverid.c
@@ -145,7 +145,7 @@ bool serverid_register_msg_flags(const struct server_id id, bool do_reg,
if (rec->value.dsize != sizeof(struct serverid_data)) {
DEBUG(1, ("serverid record has unexpected size %d "
"(wanted %d)\n", (int)rec->value.dsize,
- sizeof(struct serverid_data)));
+ (int)sizeof(struct serverid_data)));
goto done;
}