diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-07 09:00:34 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-08 17:09:38 -0600 |
| commit | 72534d797af6cb8cd1111d612eb815b37bd88d56 (patch) | |
| tree | 25205906c29e02df994b3580136733d86d789d80 /loader | |
| parent | b91cc0a75542de2639ec2498508807d50ce8b0a9 (diff) | |
| download | usermoji-72534d797af6cb8cd1111d612eb815b37bd88d56.tar.xz | |
layers: Fix Windows compile warnings
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/loader.c | 2 | ||||
| -rw-r--r-- | loader/loader.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c index 2258ca71..51b9c6b0 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -1841,7 +1841,7 @@ void loader_icd_scan( continue; } char *fullpath; - uint32_t path_len; + size_t path_len; char *rel_base; // Print out the paths being searched if debugging is enabled loader_log(VK_DBG_REPORT_DEBUG_BIT, 0, "Searching for ICD drivers named %s default dir %s\n", library_path, DEFAULT_VK_DRIVERS_PATH); diff --git a/loader/loader.h b/loader/loader.h index e96df3e9..4956ae68 100644 --- a/loader/loader.h +++ b/loader/loader.h @@ -192,7 +192,7 @@ struct loader_struct { struct loader_instance *instances; unsigned int loaded_layer_lib_count; - unsigned int loaded_layer_lib_capacity; + size_t loaded_layer_lib_capacity; struct loader_lib_info *loaded_layer_lib_list; // TODO add ref counting of ICD libraries // TODO use this struct loader_layer_library_list scanned_layer_libraries; |
