1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-09 12:54:23 +01:00
NIIBE Yutaka 3f52c7da39 common: Fix iobuf API of filter function for alignment.
* common/iobuf.h (IOBUFCTRL_DESC): Change the call semantics.
* common/iobuf.c (iobuf_desc): Add the second argument DESC.
(print_chain, iobuf_close, do_open, iobuf_sockopen, iobuf_ioctl)
(iobuf_push_filter2, pop_filter, iobuf_write_temp): Change calls
of iobuf_desc.
(file_filter, file_es_filter, sock_filter, block_filter): Fill the
description.
* common/t-iobuf.c (every_other_filter, double_filter): Likewise.
* g10/armor.c, g10/cipher.c, g10/compress-bz2.c, g10/compress.c,
g10/decrypt-data.c, g10/encrypt.c, g10/mdfilter.c, g10/progress.c,
g10/textfilter.c: Likewise.

--

Newer GCC warns against possible alignment difference of pointers.
This change can silence those warnings.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2016-01-12 10:32:20 +09:00
..
2014-10-31 14:21:34 +01:00
2015-08-06 17:00:41 +09:00
2007-07-04 19:49:40 +00:00
2014-11-13 12:01:42 +01:00
2015-05-01 13:58:18 +09:00
2015-02-04 09:15:34 +01:00
2016-01-08 17:22:32 +01:00
2015-02-04 09:15:34 +01:00
2015-11-17 12:50:22 +01:00
2016-01-09 11:28:42 +01:00
2016-01-08 17:22:32 +01:00
2015-10-05 19:48:47 +02:00
2015-12-21 20:56:29 +09:00
2015-10-05 19:48:47 +02:00
2015-12-22 15:03:56 +01:00
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2008-12-12 08:54:50 +00:00
2015-04-06 13:07:09 +02:00
2015-11-17 12:50:22 +01:00
2015-12-22 15:03:56 +01:00
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2016-01-06 08:49:45 +01:00
2015-11-19 15:48:01 +01:00
2014-01-29 17:45:05 +01:00