diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2024-02-01 19:45:04 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2024-02-01 19:45:04 +0100 |
commit | 4c0e9f14183dcbcb4e558aeb3b50472344127ba1 (patch) | |
tree | 72610c7a32ac1c1c1fc2c112ddadfba50bcf34ea /src/core | |
parent | fbca1df9dd7691ada4837ce4deda87315c87e6a2 (diff) | |
download | tor-4c0e9f14183dcbcb4e558aeb3b50472344127ba1.tar.gz tor-4c0e9f14183dcbcb4e558aeb3b50472344127ba1.zip |
Make two 1-bit fields unsigned
This should be a completely harmless warning as we only check whether
the fields are true or false.
Closes #40911.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/or/half_edge_st.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/or/half_edge_st.h b/src/core/or/half_edge_st.h index 642d8e1ea5..d8c183a93c 100644 --- a/src/core/or/half_edge_st.h +++ b/src/core/or/half_edge_st.h @@ -41,10 +41,10 @@ typedef struct half_edge_t { /** * Did this edge use congestion control? If so, use * timer instead of pending data approach */ - int used_ccontrol : 1; + unsigned int used_ccontrol : 1; /** Is there a connected cell pending? */ - int connected_pending : 1; + unsigned int connected_pending : 1; } half_edge_t; #endif /* !defined(HALF_EDGE_ST_H) */ |