libgpo: apply some const.
[samba.git] / libgpo / gpo_fetch.c
index 9fdff7c2f2b49d0640e04c7111b12fc9440ed0fb..07141d42cac738a9a673adbc32cf7a1c77c65a0c 100644 (file)
@@ -151,7 +151,7 @@ static NTSTATUS gpo_connect_server(ADS_STRUCT *ads,
 NTSTATUS gpo_fetch_files(TALLOC_CTX *mem_ctx,
                          ADS_STRUCT *ads,
                          const char *cache_dir,
-                        struct GROUP_POLICY_OBJECT *gpo)
+                        const struct GROUP_POLICY_OBJECT *gpo)
 {
        NTSTATUS result;
        char *server, *service, *nt_path, *unix_path;