summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingInternal.h
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2015-11-21 07:26:46 +0000
committerXinliang David Li <davidxl@google.com>2015-11-21 07:26:46 +0000
commitebfe8691b935e56f9acbfa34a7409f4986a82d74 (patch)
treeceb551b8b2f137d715021baed9818f5424c7e643 /lib/profile/InstrProfilingInternal.h
parentdc716a3d5e88be416c636040b6cddd1ff553cae4 (diff)
Fix -Wpointer-sign warning
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingInternal.h')
-rw-r--r--lib/profile/InstrProfilingInternal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/InstrProfilingInternal.h b/lib/profile/InstrProfilingInternal.h
index e912ce850..212001bd2 100644
--- a/lib/profile/InstrProfilingInternal.h
+++ b/lib/profile/InstrProfilingInternal.h
@@ -42,7 +42,7 @@ int __llvm_profile_write_buffer_internal(
* This is an internal function not intended to be used externally.
*/
typedef struct ProfDataIOVec {
- const char *Data;
+ const void *Data;
size_t ElmSize;
size_t NumElm;
} ProfDataIOVec;