summaryrefslogtreecommitdiff
path: root/src/or/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/channel.h')
-rw-r--r--src/or/channel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/channel.h b/src/or/channel.h
index c31806cbd4..27fba8fc00 100644
--- a/src/or/channel.h
+++ b/src/or/channel.h
@@ -26,6 +26,9 @@ typedef void (*channel_var_cell_handler_fn_ptr)(channel_t *, var_cell_t *);
*/
struct channel_s {
+ /* Magic number for type-checking cast macros */
+ uint32_t magic;
+
/* Current channel state */
channel_state_t state;