lib: Apply some const to pull_file_id_24
[mat/samba.git] / source3 / lib / file_id.c
index ba4b3a3d8691a66e89b11d62699cc92e6d4f46ef..f8295ce738a8dda3f73536cc8354352611429370 100644 (file)
@@ -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);