aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorJamie Madill <jmadill@chromium.org>2016-10-24 16:54:40 -0400
committerMark Young <marky@lunarg.com>2016-10-24 15:28:07 -0600
commitc5d9cced933394b470bf3d985d6dfeb9d30b6508 (patch)
tree2da53a095eb9d84ede7554687e4543c2d0752f05 /loader
parent4f82d6a9eead19211ac1508ae4a8c1ab379afa0c (diff)
downloadusermoji-c5d9cced933394b470bf3d985d6dfeb9d30b6508.tar.xz
loader: Fix cast warning
Fix a cast warning found in loader.c. Change-Id: Ie39e84ce8f050a2655c2ad3a1a146dda17c15bf9
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 4dda59ab..184809b2 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -4475,7 +4475,7 @@ terminator_EnumeratePhysicalDevices(VkInstance instance,
loader_set_dispatch((void *)&inst->phys_devs_term[idx],
inst->disp);
inst->phys_devs_term[idx].this_icd = phys_devs[i].this_icd;
- inst->phys_devs_term[idx].icd_index = i;
+ inst->phys_devs_term[idx].icd_index = (uint8_t)(i);
inst->phys_devs_term[idx].phys_dev = phys_devs[i].phys_devs[j];
if (idx < copy_count) {
pPhysicalDevices[idx] =