[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [PATCH] process: Fix operator precedence bug.
From: |
Collin Funk |
Subject: |
[screen-devel] [PATCH] process: Fix operator precedence bug. |
Date: |
Tue, 6 Feb 2024 02:44:07 -0800 |
User-agent: |
Mozilla Thunderbird |
Hello, I was compiling screen and saw a warning for this line. The C
standard states that binary OR has a higher precedence than the ternary
operator. The patch doesn't seem to change behavior in any way since
FLOW_OFF and FLOW_ON are defined to 0 and 1 respectively. However, I
think it should probably be changed for clarity. The patch is attached.
0001-process-Fix-operator-precedence-bug.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [screen-devel] [PATCH] process: Fix operator precedence bug.,
Collin Funk <=