commit | c286b9f0f4aab004e46fe14f3ba1648d7d1edaf7 | [log] [tgz] |
---|---|---|
author | Mehdi Amini <mehdi.amini@apple.com> | Sat Mar 19 21:28:18 2016 +0000 |
committer | Mehdi Amini <mehdi.amini@apple.com> | Sat Mar 19 21:28:18 2016 +0000 |
tree | 77acce79db23b8c6c996304db54e6d398280e1d3 | |
parent | 28546662630e073efe1481454f0425ec41961481 [diff] [blame] |
Const-correctness in libLTO Looks like I was sloppy when bridging to C. Thanks D. Blaikie for noticing! From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 263885
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 44f7bea..88b10fd 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/include/llvm-c/lto.h
@@ -564,7 +564,7 @@ * \since LTO_API_VERSION=18 */ typedef struct { - void *Buffer; + const char *Buffer; size_t Size; } LTOObjectBuffer;