diff options
author | midipix <writeonce@midipix.org> | 2024-07-17 02:11:19 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-07-17 02:11:19 +0000 |
commit | 19fba4c00b514a0c25e6b3537a7dded39d2cc79a (patch) | |
tree | dc962e705bcbe9e50add08b756608a8277158119 /src/logic/tpax_archive_write.c | |
parent | a749fdfc3615246713808529cc1ab7e947040ec7 (diff) | |
download | tpax-19fba4c00b514a0c25e6b3537a7dded39d2cc79a.tar.bz2 tpax-19fba4c00b514a0c25e6b3537a7dded39d2cc79a.tar.xz |
internals: tpax_archive_append_memory_data(): fix function signature.
Diffstat (limited to 'src/logic/tpax_archive_write.c')
-rw-r--r-- | src/logic/tpax_archive_write.c | 6 |
1 files 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); |