Commit 805703fa authored by Sergei Golubchik's avatar Sergei Golubchik

Fixed for failures in buildbot: Windows

fix constants to stay 64-bit instead of being truncated by VS.
this fixes a hang on startup.
parent b760a69e
...@@ -96,8 +96,8 @@ struct os_event { ...@@ -96,8 +96,8 @@ struct os_event {
private: private:
/** Masks for the event signal count and set flag in the count_and_set /** Masks for the event signal count and set flag in the count_and_set
field */ field */
enum { count_mask = 0x7fffffffffffffffULL, static const ib_uint64_t count_mask = 0x7fffffffffffffffULL;
set_mask = 0x8000000000000000ULL}; static const ib_uint64_t set_mask = 0x8000000000000000ULL;
/** The MSB is set whenever when the event is in the signaled state, /** The MSB is set whenever when the event is in the signaled state,
i.e. a thread does not stop if it tries to wait for this event. Lower i.e. a thread does not stop if it tries to wait for this event. Lower
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment