aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorJamie Madill <jmadill@chromium.org>2016-12-21 13:09:59 -0500
committerMark Young <marky@lunarg.com>2016-12-21 12:23:45 -0700
commitbee1d3a4e8c0d48dc5f77c26963e792f4c3b306c (patch)
tree6fee390ab5f0281b38b5957c358221ad1f97a3ca /loader
parentaf5ab3902931a94936b7b08333482fac499b3c2f (diff)
downloadusermoji-bee1d3a4e8c0d48dc5f77c26963e792f4c3b306c.tar.xz
loader: Fix Clang warning in table_ops.h
This fixes the following warning: error: cast between incompatible calling conventions 'cdecl' and 'stdcall'; calls through this pointer may abort at runtime This was revelated by building the loader with Clang on Windows in 32-bits mode. In 64-bits this warning doesn't appear, presumably due to different calling conventions. Change-Id: I7018be38859695436487f582f515bfb08ca28e06
Diffstat (limited to 'loader')
-rw-r--r--loader/table_ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/table_ops.h b/loader/table_ops.h
index 13c9ac7e..eecc952a 100644
--- a/loader/table_ops.h
+++ b/loader/table_ops.h
@@ -29,7 +29,7 @@
#include "loader.h"
#include "vk_loader_platform.h"
-static VkResult vkDevExtError(VkDevice dev) {
+static VkResult VKAPI_CALL vkDevExtError(VkDevice dev) {
struct loader_device *found_dev;
// The device going in is a trampoline device
struct loader_icd_term *icd_term =