Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions loader/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ VkResult normalize_path(const struct loader_instance *inst, char **passed_in_pat
if (actual_len == 0) {
size_t last_error = (size_t)GetLastError();
loader_log(inst, VULKAN_LOADER_DEBUG_BIT, 0,
"normalize_path: Call to GetFullPathNameA() failed with error code %llu when given the path %s", last_error,
"normalize_path: Call to GetFullPathNameA() failed with error code %zu when given the path %s", last_error,
*passed_in_path);
res = VK_ERROR_INITIALIZATION_FAILED;
goto out;
Expand All @@ -456,15 +456,15 @@ VkResult normalize_path(const struct loader_instance *inst, char **passed_in_pat
if (actual_len == 0) {
size_t last_error = (size_t)GetLastError();
loader_log(inst, VULKAN_LOADER_DEBUG_BIT, 0,
"normalize_path: Call to GetFullPathNameA() failed with error code %llu when given the path %s", last_error,
"normalize_path: Call to GetFullPathNameA() failed with error code %zu when given the path %s", last_error,
*passed_in_path);
res = VK_ERROR_INITIALIZATION_FAILED;
goto out;
// actual_len doesn't include null terminator
} else if (actual_len + 1 != path_len) {
loader_log(inst, VULKAN_LOADER_DEBUG_BIT, 0,
"normalize_path: Call to GetFullPathNameA() with too small of a buffer when given the path %s after the "
"initial call to GetFullPathNameA() failed for the same reason. Buffer size is %llu, actual size is %llu",
"initial call to GetFullPathNameA() failed for the same reason. Buffer size is %zu, actual size is %zu",
*passed_in_path, (size_t)path_len, (size_t)actual_len);
res = VK_ERROR_INITIALIZATION_FAILED;
goto out;
Expand Down
Loading