DRW: Fix warning on MSVC

This commit is contained in:
Clément Foucault 2019-05-16 14:16:47 +02:00
parent 89673f0974
commit b23af112d2
1 changed files with 1 additions and 1 deletions

View File

@ -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;