aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2024-02-08 19:41:22 +0000
committerDavid Goulet <dgoulet@torproject.org>2024-02-08 19:41:22 +0000
commitb0b943a1613e2f9b421a663a3bf84fb4bbdbadc5 (patch)
treef7377290809441e973eea4f5b6b24055a2603620 /src
parentdf503f464efcbfaf2755092ad1ad450a85217e0d (diff)
parent4c0e9f14183dcbcb4e558aeb3b50472344127ba1 (diff)
downloadtor-b0b943a1613e2f9b421a663a3bf84fb4bbdbadc5.tar.gz
tor-b0b943a1613e2f9b421a663a3bf84fb4bbdbadc5.zip
Merge branch 'bug40911' into 'main'
Make two 1-bit fields unsigned Closes #40911 See merge request tpo/core/tor!796
Diffstat (limited to 'src')
-rw-r--r--src/core/or/half_edge_st.h4
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) */