diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-18 14:45:12 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-01-16 22:29:39 -0500 |
commit | 5e06c4ee327b848f59578bc7d838cf34188ff6fd (patch) | |
tree | 8fdbf5a924438af68506ca8bdbe0697deca0ab1c /src/or/addressmap.c | |
parent | 739e83ca694411c318d868e0838238b4e3d9b5eb (diff) | |
download | tor-5e06c4ee327b848f59578bc7d838cf34188ff6fd.tar.gz tor-5e06c4ee327b848f59578bc7d838cf34188ff6fd.zip |
When building with MSVC, call every enum bitfield unsigned
Fixes bug 7305.
Diffstat (limited to 'src/or/addressmap.c')
-rw-r--r-- | src/or/addressmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/addressmap.c b/src/or/addressmap.c index f4c31295a8..a7fc60a0a5 100644 --- a/src/or/addressmap.c +++ b/src/or/addressmap.c @@ -45,7 +45,7 @@ typedef struct { char *new_address; time_t expires; - addressmap_entry_source_t source:3; + ENUM_BF(addressmap_entry_source_t) source:3; unsigned src_wildcard:1; unsigned dst_wildcard:1; short num_resolve_failures; |