[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 118/156: examples/http_chunked_compression.c: fixed void
From: |
gnunet |
Subject: |
[libmicrohttpd] 118/156: examples/http_chunked_compression.c: fixed void pointer arithmetic |
Date: |
Sun, 28 May 2023 17:52:51 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to tag v0.9.77
in repository libmicrohttpd.
commit cc0db05bddef9f97747abe937bdfdddcd49eefc1
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Fri May 19 13:55:56 2023 +0300
examples/http_chunked_compression.c: fixed void pointer arithmetic
---
src/examples/http_chunked_compression.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/examples/http_chunked_compression.c
b/src/examples/http_chunked_compression.c
index f6baf0fd..75a8139d 100644
--- a/src/examples/http_chunked_compression.c
+++ b/src/examples/http_chunked_compression.c
@@ -92,7 +92,7 @@ compress_buf (z_stream *strm, const void *src, size_t
src_size, size_t *offset,
return MHD_NO;
}
*dest = tmp_dest;
- memcpy ((*dest) + ((*dest_size) - have), tmp, have);
+ memcpy (((char *) (*dest)) + ((*dest_size) - have), tmp, have);
}
while (0 == strm->avail_out);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 88/156: autoinit_funcs.h: added support for non-x86 arches for MSVC, (continued)
- [libmicrohttpd] 88/156: autoinit_funcs.h: added support for non-x86 arches for MSVC, gnunet, 2023/05/28
- [libmicrohttpd] 86/156: Muted compiler warnings for W32 non-TLS build of the lib, gnunet, 2023/05/28
- [libmicrohttpd] 93/156: Added more mutes for autoconf compiler warnings, gnunet, 2023/05/28
- [libmicrohttpd] 92/156: bootstrap script: improved portability, gnunet, 2023/05/28
- [libmicrohttpd] 95/156: test_post_form: updated to support the new libcurl API, gnunet, 2023/05/28
- [libmicrohttpd] 104/156: test_quiesce: fixed possible uninitialised var, gnunet, 2023/05/28
- [libmicrohttpd] 101/156: configure: bumped gettext version requirement, gnunet, 2023/05/28
- [libmicrohttpd] 100/156: test_toolarge: fixed reported error description, gnunet, 2023/05/28
- [libmicrohttpd] 108/156: test_client_put_stop: fixed typo in comment, gnunet, 2023/05/28
- [libmicrohttpd] 105/156: Removed redundant autopoint file, gnunet, 2023/05/28
- [libmicrohttpd] 118/156: examples/http_chunked_compression.c: fixed void pointer arithmetic,
gnunet <=
- [libmicrohttpd] 126/156: testcurl/https: moved certs variable declaration to the header, gnunet, 2023/05/28
- [libmicrohttpd] 116/156: examples/sessions.c: removed non-portable function, gnunet, 2023/05/28
- [libmicrohttpd] 132/156: W32 VS projects: unified output and intermediate directories, gnunet, 2023/05/28
- [libmicrohttpd] 133/156: W32 VS projects: disabled specific compiler warning on ARM, gnunet, 2023/05/28
- [libmicrohttpd] 111/156: test_timeout: moved to heavy tests, gnunet, 2023/05/28
- [libmicrohttpd] 97/156: test_put_header_fold: adopted to new libcurl API, gnunet, 2023/05/28
- [libmicrohttpd] 119/156: configure: fixed detection of __FUNCTION__ magic macro, gnunet, 2023/05/28
- [libmicrohttpd] 123/156: test_client_put_stop: muted compiler warnings, gnunet, 2023/05/28
- [libmicrohttpd] 124/156: testcurl/https: removed enforcement of TLS version and cipher, gnunet, 2023/05/28
- [libmicrohttpd] 128/156: websocket_threaded_example: fixed wrong commented-out code, gnunet, 2023/05/28