[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parameter is not bool

From: Adam Tuja
Subject: Re: Parameter is not bool
Date: Tue, 08 Nov 2022 12:58:27 +0100

 vc +kick13 -Ivbcc:PosixLib/include -DPROGVERSION="1.13" -c -o main.o main.c
          if( !open_outstream( true, in_statsp ) )

error 39 in line 702 of "main.c": invalid types for assignment
1 error found!

          if( !open_outstream( true, in_statsp ) )
You can substitute it with:

    if( !open_outstream( true, ( in_statsp != NULL ? true : false ) ) ) { retval = q; break; }

Which will be optimized be complete to the very same result.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]