From: brarcher Date: Mon, 23 Jun 2014 04:13:39 +0000 (+0000) Subject: cast upack_int() to goal container X-Git-Tag: 0.10.0~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5cc9f9f5359cbcd7e3296c1c3bfa5402a8ce6ede;p=check 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 --- 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)