12345678910111213141516 |
- $OpenBSD: patch-libclamav_vba_extract_c,v 1.11 2015/12/01 23:25:09 sthen Exp $
- allow for machine arch where char is unsigned by default (e.g. arm, powerpc)
- --- libclamav/vba_extract.c.orig Fri Sep 18 21:48:45 2015
- +++ libclamav/vba_extract.c Tue Dec 1 22:19:26 2015
- @@ -99,7 +99,7 @@ vba_endian_convert_32(uint32_t value, int big_endian)
-
-
- static char *
- -get_unicode_name(const char *name, int size, int big_endian)
- +get_unicode_name(const signed char *name, int size, int big_endian)
- {
- int i, increment;
- char *newname, *ret;
|