On Mon, Feb 27, 2017 at 02:10:45PM +0100, John Paul Adrian Glaubitz wrote:
>...
> --- qpxtool-0.7.2/debian/patches/07-fix-wr-mode-declarations.patch
> 1970-01-01 01:00:00.000000000 +0100
> +++ qpxtool-0.7.2/debian/patches/07-fix-wr-mode-declarations.patch
> 2017-02-27 14:04:53.000000000 +0100
> @@ -0,0 +1,17 @@
> +Description: Fix declarations of unsigned char in wr_mode
> +Author: John Paul Adrian Glaubitz <[email protected]>
> +Last-Update: 2017-02-27
> +
> +--- qpxtool-0.7.2.orig/lib/qpxtransport/include/qpx_mmc_defs.h
> ++++ qpxtool-0.7.2/lib/qpxtransport/include/qpx_mmc_defs.h
> +@@ -581,8 +581,8 @@ static const dev_desc _devtbl[]= {
> + #define WTYPE_LJ 4
> +
> + typedef struct {
> +- char wtype;
> +- char dtype;
> ++ signed char wtype;
> ++ signed char dtype;
> + uint32_t id;
> + char name[32];
> + } wr_mode;
>...
This header is part of libqpx-dev.
It should therefore be double-checked that this change won't change the ABI.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed