]> granicus.if.org Git - check/commitdiff
Fix data type of internal fork_status variable
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 23 Jun 2014 04:13:29 +0000 (04:13 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 23 Jun 2014 04:13:29 +0000 (04:13 +0000)
This was necessary to compile Check with a c++ compiler.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1158 64e312b2-a51f-0410-8e61-82d0ca0eb02a

src/check.c

index 367477b21baf8561efa4103ec34a9c4ed9c31e71..86308f50ac543eecd0820756689682b6af8a52c4 100644 (file)
@@ -486,7 +486,7 @@ const char *tr_tcname(TestResult * tr)
     return tr->tcname;
 }
 
-static int _fstat = CK_FORK;
+static enum fork_status _fstat = CK_FORK;
 
 void set_fork_status(enum fork_status fstat)
 {