diff options
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_llvm_util.c')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_llvm_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeon/radeon_llvm_util.c b/src/gallium/drivers/radeon/radeon_llvm_util.c index ec1155923fe..0dfd9ad4867 100644 --- a/src/gallium/drivers/radeon/radeon_llvm_util.c +++ b/src/gallium/drivers/radeon/radeon_llvm_util.c @@ -34,7 +34,7 @@ #include <llvm-c/Transforms/PassManagerBuilder.h> LLVMModuleRef radeon_llvm_parse_bitcode(LLVMContextRef ctx, - const unsigned char * bitcode, unsigned bitcode_len) + const char * bitcode, unsigned bitcode_len) { LLVMMemoryBufferRef buf; LLVMModuleRef module; @@ -47,7 +47,7 @@ LLVMModuleRef radeon_llvm_parse_bitcode(LLVMContextRef ctx, } unsigned radeon_llvm_get_num_kernels(LLVMContextRef ctx, - const unsigned char *bitcode, unsigned bitcode_len) + const char *bitcode, unsigned bitcode_len) { LLVMModuleRef mod = radeon_llvm_parse_bitcode(ctx, bitcode, bitcode_len); return LLVMGetNamedMetadataNumOperands(mod, "opencl.kernels"); @@ -88,7 +88,7 @@ static void radeon_llvm_optimize(LLVMModuleRef mod) } LLVMModuleRef radeon_llvm_get_kernel_module(LLVMContextRef ctx, unsigned index, - const unsigned char *bitcode, unsigned bitcode_len) + const char *bitcode, unsigned bitcode_len) { LLVMModuleRef mod; unsigned num_kernels; |