Fix type conversion warnings
authorPyry Haulos <phaulos@google.com>
Mon, 15 Feb 2016 12:36:29 +0000 (04:36 -0800)
committerPyry Haulos <phaulos@google.com>
Tue, 16 Feb 2016 15:23:02 +0000 (17:23 +0200)
external/vulkancts/modules/vulkan/api/vktApiBufferTests.cpp
external/vulkancts/modules/vulkan/api/vktApiBufferViewCreateTests.cpp

index 2d9302c..6b36cce 100644 (file)
@@ -144,7 +144,7 @@ private:
                        VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO,
                        NULL,
                        memReqs.size,
-                       deCtz32(memReqs.memoryTypeBits)                         //      deUint32                memoryTypeIndex
+                       (deUint32)deCtz32(memReqs.memoryTypeBits)       //      deUint32                memoryTypeIndex
                };
 
                try
index c6265e6..97ace97 100644 (file)
@@ -147,7 +147,7 @@ tcu::TestStatus BufferViewTestInstance::iterate (void)
                VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO,         //      VkStructureType         sType
                NULL,                                                                           //      const void*                     pNext
                memReqs.size,                                                           //      VkDeviceSize            allocationSize
-               deCtz32(memReqs.memoryTypeBits)                         //      deUint32                        memoryTypeIndex
+               (deUint32)deCtz32(memReqs.memoryTypeBits)       //      deUint32                        memoryTypeIndex
        };
 
        {