diff --git a/src/fiob.c b/src/fiob.c index f0496394f787899064f829434664a545bad1a94b..39779e036164568a24bcec94025e19968afc9b8e 100644 --- a/src/fiob.c +++ b/src/fiob.c @@ -28,7 +28,7 @@ struct fiob { #ifdef HAVE_FUNOPEN struct { int (*read)(void *cookie, char *buf, int len); - int (*write)(void *cookie, char *buf, int len); + int (*write)(void *cookie, const char *buf, int len); fpos_t (*seek)(void *cookie, fpos_t pos, int whence); int (*close)(void *cookie); } io;