draw_manager: fix warning with msvc.

32 bit shift stored in 64 bit field gave a warning with MSVC.
This commit is contained in:
Ray molenkamp 2019-05-27 08:10:51 -06:00
parent 1885d234b0
commit 380f07d0ee
1 changed files with 1 additions and 1 deletions

View File

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