summaryrefslogtreecommitdiff
path: root/source3/lib/file_id.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-03 11:51:48 +0000
committerMichael Adam <obnox@samba.org>2013-09-06 13:40:05 +0200
commitf4e40494c07067838dd67f0614dc75fdb6291c41 (patch)
treeefb2c44d4c0de1832d945486f8cbc0995d06aa65 /source3/lib/file_id.c
parent451cde7f2ab82ea500a69a6072b28991bf4e13a2 (diff)
downloadsamba-f4e40494c07067838dd67f0614dc75fdb6291c41.tar.gz
samba-f4e40494c07067838dd67f0614dc75fdb6291c41.tar.bz2
samba-f4e40494c07067838dd67f0614dc75fdb6291c41.zip
lib: Apply some const to pull_file_id_24
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib/file_id.c')
-rw-r--r--source3/lib/file_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/file_id.c b/source3/lib/file_id.c
index ba4b3a3d86..f8295ce738 100644
--- a/source3/lib/file_id.c
+++ b/source3/lib/file_id.c
@@ -80,7 +80,7 @@ void push_file_id_24(char *buf, const struct file_id *id)
/*
pull a 24 byte version of a file id from a buffer
*/
-void pull_file_id_24(char *buf, struct file_id *id)
+void pull_file_id_24(const char *buf, struct file_id *id)
{
ZERO_STRUCTP(id);
id->devid = IVAL(buf, 0);