From 051b9121bc8e113239f7207a68860b6472d117d4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 3 Sep 2013 11:55:27 +0000 Subject: smbd: Apply some const to message_to_share_mode_entry Signed-off-by: Volker Lendecke Reviewed-by: Michael Adam --- source3/smbd/oplock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/oplock.c') diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index ba8298fe5a..11e302ac3e 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -819,7 +819,7 @@ void share_mode_entry_to_message(char *msg, const struct share_mode_entry *e) De-linearize an internal oplock break message to a share mode entry struct. ****************************************************************************/ -void message_to_share_mode_entry(struct share_mode_entry *e, char *msg) +void message_to_share_mode_entry(struct share_mode_entry *e, const char *msg) { e->pid.pid = (pid_t)IVAL(msg,OP_BREAK_MSG_PID_OFFSET); e->op_mid = BVAL(msg,OP_BREAK_MSG_MID_OFFSET); -- cgit