summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-10-03 21:34:37 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-10-03 21:34:37 +0200
commit6998d850c067a18eac3130f534309089f5e3da76 (patch)
tree5f9366119f7077ab74421fb5222e8b52a60526b6 /cache.h
parent516cc3dfe4cd44fe85ad999910f0abf0aff7f6ad (diff)
Fix build
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 0c3659ea8..b2efdbfbf 100644
--- a/cache.h
+++ b/cache.h
@@ -69,7 +69,7 @@ extern error_t cache_read (struct node *node, off_t offset,
/* Writes at most LEN bytes from NODE at OFFSET into BUF.
Returns the amount of data actually written in AMOUNT. */
extern error_t cache_write (struct node *node, off_t offset,
- void *data, size_t len, size_t *amount);
+ const void *data, size_t len, size_t *amount);
/* Sets the size of NODE and reduce/grow its cache. */
extern error_t cache_set_size (struct node *node, size_t size);