diff options
author | Volker Lendecke <vl@samba.org> | 2011-12-02 15:03:05 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-12-08 15:03:42 +0100 |
commit | 14d388928501f9cc56cef04375fdb08e052fd44a (patch) | |
tree | 719466bf4d7400dcf208dafa116acdb9b69f4dbf /source3 | |
parent | 4552c28d6db35d1d0b8dfdb145235eef629fbf35 (diff) | |
download | samba-14d388928501f9cc56cef04375fdb08e052fd44a.tar.gz samba-14d388928501f9cc56cef04375fdb08e052fd44a.tar.xz samba-14d388928501f9cc56cef04375fdb08e052fd44a.zip |
s3: Fix some 64-bit warnings
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/oplock.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index 1bf957d810e..2d3ce5feaf3 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -460,8 +460,9 @@ void process_oplock_async_level2_break_message(struct messaging_context *msg_ctx message_to_share_mode_entry(&msg, (char *)data->data); DEBUG(10, ("Got oplock async level 2 break message from pid %s: " - "%s/%lu\n", server_id_str(talloc_tos(), &src), - file_id_string_tos(&msg.id), msg.share_file_id)); + "%s/%llu\n", server_id_str(talloc_tos(), &src), + file_id_string_tos(&msg.id), + (unsigned long long)msg.share_file_id)); fsp = initial_break_processing(sconn, msg.id, msg.share_file_id); @@ -510,9 +511,10 @@ static void process_oplock_break_message(struct messaging_context *msg_ctx, /* De-linearize incoming message. */ message_to_share_mode_entry(&msg, (char *)data->data); - DEBUG(10, ("Got oplock break message from pid %s: %s/%lu\n", - server_id_str(talloc_tos(), &src), file_id_string_tos(&msg.id), - msg.share_file_id)); + DEBUG(10, ("Got oplock break message from pid %s: %s/%llu\n", + server_id_str(talloc_tos(), &src), + file_id_string_tos(&msg.id), + (unsigned long long)msg.share_file_id)); fsp = initial_break_processing(sconn, msg.id, msg.share_file_id); @@ -705,9 +707,11 @@ static void process_oplock_break_response(struct messaging_context *msg_ctx, /* De-linearize incoming message. */ message_to_share_mode_entry(&msg, (char *)data->data); - DEBUG(10, ("Got oplock break response from pid %s: %s/%lu mid %llu\n", - server_id_str(talloc_tos(), &src), file_id_string_tos(&msg.id), - msg.share_file_id, (unsigned long long)msg.op_mid)); + DEBUG(10, ("Got oplock break response from pid %s: %s/%llu mid %llu\n", + server_id_str(talloc_tos(), &src), + file_id_string_tos(&msg.id), + (unsigned long long)msg.share_file_id, + (unsigned long long)msg.op_mid)); sconn = msg_ctx_to_sconn(msg_ctx); if (sconn != NULL) { |