_ostree_repo_file_replace_contents: make buf const

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2015-04-14 09:56:13 +02:00
parent a1352fec9d
commit 69184e70e9
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ gboolean
_ostree_repo_file_replace_contents (OstreeRepo *self, _ostree_repo_file_replace_contents (OstreeRepo *self,
int dfd, int dfd,
const char *path, const char *path,
guint8 *buf, const guint8 *buf,
gsize len, gsize len,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);

View File

@ -1509,7 +1509,7 @@ gboolean
_ostree_repo_file_replace_contents (OstreeRepo *self, _ostree_repo_file_replace_contents (OstreeRepo *self,
int dfd, int dfd,
const char *path, const char *path,
guint8 *buf, const guint8 *buf,
gsize len, gsize len,
GCancellable *cancellable, GCancellable *cancellable,
GError **error) GError **error)