return compatibility;
/* Check, if this may be windows style syntax... */
- if (windows_cli_count && (windows_cli_count >= posix_cli_count) || (windows_cli_status <= COMMAND_LINE_STATUS_PRINT))
+ if ((windows_cli_count && (windows_cli_count >= posix_cli_count)) || (windows_cli_status <= COMMAND_LINE_STATUS_PRINT))
{
windows_cli_count = 1;
*flags = COMMAND_LINE_SEPARATOR_COLON;
if (rb->writePtr == rb->readPtr)
{
- rb->writePtr = rb->readPtr = NULL;
+ rb->writePtr = rb->readPtr = 0;
}
if (rb->writePtr + sz < rb->size)
printf("%zd: %s\n", x, msg[x]);
rc = 0;
}
- winpr_backtrace_symbols_fd(stack, stdout);
+ winpr_backtrace_symbols_fd(stack, fileno(stdout));
winpr_backtrace_free(stack);