aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-04-28 13:35:16 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-04-28 13:35:16 +0200
commit073225cb01d9c2629c7a423dbe6afcd07601ffb7 (patch)
tree287b825155920aed49f3111aee5b937078dc2223 /src/rpc/mining.cpp
parentd9594bfe0c3e8818f5490979c3d94d752383352e (diff)
chain: define enum used as bit field as uint32_t
Bitwise logic combined with `<` with undefined signedness will potentially results in undefined behavior. Fix this by defining the type as a c++11 typed enum. Fixes #6017.
Diffstat (limited to 'src/rpc/mining.cpp')
0 files changed, 0 insertions, 0 deletions