Skip to content

Commit

Permalink
lib/flow.h Revert bitfield back to uint64_t.
Browse files Browse the repository at this point in the history
Using different types for the two bitfields did not work on MSVC, so
reverting back to "64-bit bool" :-)

Reported-by: Saurabh Shah <ssaurabh@vmware.com>
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
  • Loading branch information
Jarno Rajahalme committed Aug 27, 2014
1 parent 1a0e3e5 commit ffd9722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flow.h
Expand Up @@ -383,7 +383,7 @@ BUILD_ASSERT_DECL(FLOW_U32S <= 63);
*/
struct miniflow {
uint64_t map:63;
uint8_t values_inline:1;
uint64_t values_inline:1;
union {
uint32_t *offline_values;
uint32_t inline_values[MINI_N_INLINE]; /* Minimum inline size. */
Expand Down

0 comments on commit ffd9722

Please sign in to comment.