From 19fba4c00b514a0c25e6b3537a7dded39d2cc79a Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 17 Jul 2024 02:11:19 +0000 Subject: internals: tpax_archive_append_memory_data(): fix function signature. --- src/logic/tpax_archive_write.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/logic/tpax_archive_write.c b/src/logic/tpax_archive_write.c index f01bb7b..fbf46a7 100644 --- a/src/logic/tpax_archive_write.c +++ b/src/logic/tpax_archive_write.c @@ -15,11 +15,11 @@ static int tpax_archive_append_memory_data( int fdout, - void * buf, + const void * buf, ssize_t nbytes) { - ssize_t ret; - char * ch; + ssize_t ret; + const char * ch; for (ch=buf; nbytes; ch+=ret) { ret = write(fdout,ch,nbytes); -- cgit v1.2.3