diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-08 13:15:00 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-08 14:05:01 +0200 |
commit | 497eecfe2f02369669f86bb9d5aa0f1f5263f38a (patch) | |
tree | 57d2e772e2798dc730db7e81dddcbd5badd5a098 | |
parent | 9804959b4c5783dcfcc0a1d04072f61bc7fcd1ef (diff) | |
download | gnutls-497eecfe2f02369669f86bb9d5aa0f1f5263f38a.tar.gz |
_gnutls_ucs2_to_utf8: use void* as pointer type to avoid compiler assumptions on alignment [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/str-iconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/str-iconv.c b/lib/str-iconv.c index 67f4d3ff35..f5e3943e21 100644 --- a/lib/str-iconv.c +++ b/lib/str-iconv.c @@ -66,7 +66,7 @@ int _gnutls_ucs2_to_utf8(const void *data, size_t size, { int ret; size_t dstlen; - uint8_t *src; + void *src; uint8_t *tmp_dst = NULL; uint8_t *dst = NULL; |