[CRIU] [PATCH 1/3] protobuf: replace the constant 4294967295 with 0xFFFFFFFF in generated sources
Pavel Emelyanov
xemul at parallels.com
Mon Jan 14 04:46:19 EST 2013
On 01/14/2013 11:37 AM, Alexander Kartashov wrote:
> This prevents compilation warnings on ARM.
What is the warning?
> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
> ---
> protobuf/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/protobuf/Makefile b/protobuf/Makefile
> index 5527e10..bc1d590 100644
> --- a/protobuf/Makefile
> +++ b/protobuf/Makefile
> @@ -48,6 +48,7 @@ PROTO_OBJS := $(patsubst %.c,%.o,$(PROTO_SRCS))
> %.pb-c.c %.pb-c.h: %.proto
> $(E) " PROTOBUF "$@
> $(Q) protoc-c --c_out=./ $<
> + $(Q) sed -i 's/4294967295/0xFFFFFFFF/g' $@ $(patsubst %c,%h,$@)
>
> %.o: %.c %.h
> $(E) " CC "$@
>
More information about the CRIU
mailing list