DRW: Fix warning on MSVC
This commit is contained in:
parent
89673f0974
commit
b23af112d2
|
@ -881,7 +881,7 @@ enum {
|
|||
|
||||
static void set_bound_flags(uint64_t *slots, uint64_t *persist_slots, int slot_idx, char bind_type)
|
||||
{
|
||||
uint64_t slot = 1lu << slot_idx;
|
||||
uint64_t slot = 1lu << (unsigned long)slot_idx;
|
||||
*slots |= slot;
|
||||
if (bind_type == BIND_PERSIST) {
|
||||
*persist_slots |= slot;
|
||||
|
|
Loading…
Reference in New Issue