From 5cc9f9f5359cbcd7e3296c1c3bfa5402a8ce6ede Mon Sep 17 00:00:00 2001 From: brarcher Date: Mon, 23 Jun 2014 04:13:39 +0000 Subject: [PATCH] cast upack_int() to goal container Needed to get Check to compile on a c++ compiler git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1162 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- src/check_pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check_pack.c b/src/check_pack.c index 8ed0a85..fa9b354 100644 --- a/src/check_pack.c +++ b/src/check_pack.c @@ -220,7 +220,7 @@ static int pack_ctx(char **buf, CtxMsg * cmsg) static void upack_ctx(char **buf, CtxMsg * cmsg) { - cmsg->ctx = upack_int(buf); + cmsg->ctx = (enum ck_result_ctx)upack_int(buf); } static int pack_duration(char **buf, DurationMsg * cmsg) -- 2.50.1