diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-01-20 04:51:39 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-01-20 04:51:39 +0300 |
commit | 22906ff398780f6acd9965a21d9eb52abf854fdb (patch) | |
tree | 9ee6a66f0c266e4abfa9d4d58ad07a950aea1549 /README.md | |
parent | 5a2607e7d7cf2a490b52c09ade025da98d7c820e (diff) | |
download | sciteco-22906ff398780f6acd9965a21d9eb52abf854fdb.tar.gz |
fixed Clang warnings about one-bit-wide boolean integers (-Wsingle-bit-bitfield-constant-conversion)
* gboolean is defined as gint which is a signed type.
A gboolean 1-bit-wide bitfield cannot have the values 0 and 1 but only 0 and -1.
* This wasn't practically a bug unless you would try to compare one of those bitfields
with TRUE.
* All of those bitfields are now guint, even though this is less self-documenting.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions