diff options
| author | Jamie Madill <jmadill@chromium.org> | 2017-12-03 11:59:17 -0500 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2017-12-04 13:24:39 -0700 |
| commit | 4bc1edf73534287f9488e3232c25d6d803146e4c (patch) | |
| tree | 41581bc6243bf0885382ed333121dcb18b80dd0d /loader/vk_loader_platform.h | |
| parent | fb7472bbbcd62e625082a5f24fa802edde98693b (diff) | |
| download | usermoji-4bc1edf73534287f9488e3232c25d6d803146e4c.tar.xz | |
loader: Fix Clang errors/warnings.
Fixes:
format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Werror,-Wformat]
error : expected ')' (issue with __FUNCTION__ and format string)
Diffstat (limited to 'loader/vk_loader_platform.h')
| -rw-r--r-- | loader/vk_loader_platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/vk_loader_platform.h b/loader/vk_loader_platform.h index 207e5a48..c04d0371 100644 --- a/loader/vk_loader_platform.h +++ b/loader/vk_loader_platform.h @@ -280,7 +280,7 @@ static loader_platform_dl_handle loader_platform_open_library(const char *lib_pa } static char *loader_platform_open_library_error(const char *libPath) { static char errorMsg[164]; - (void)snprintf(errorMsg, 163, "Failed to open dynamic library \"%s\" with error %d", libPath, GetLastError()); + (void)snprintf(errorMsg, 163, "Failed to open dynamic library \"%s\" with error %lu", libPath, GetLastError()); return errorMsg; } static void loader_platform_close_library(loader_platform_dl_handle library) { FreeLibrary(library); } |
