summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
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);