draw_manager: fix warning with msvc.
32 bit shift stored in 64 bit field gave a warning with MSVC.
This commit is contained in:
parent
1885d234b0
commit
380f07d0ee
|
@ -593,7 +593,7 @@ enum {
|
|||
|
||||
static void set_bound_flags(uint64_t *slots, uint64_t *persist_slots, int slot_idx, char bind_type)
|
||||
{
|
||||
uint64_t slot = 1lu << (unsigned long)slot_idx;
|
||||
uint64_t slot = 1llu << (unsigned long)slot_idx;
|
||||
*slots |= slot;
|
||||
if (bind_type == BIND_PERSIST) {
|
||||
*persist_slots |= slot;
|
||||
|
|
Loading…
Reference in New Issue