diff options
| -rw-r--r-- | compiler-rt/lib/profile/InstrProfilingBuffer.c | 4 | ||||
| -rw-r--r-- | compiler-rt/lib/profile/InstrProfilingFile.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingBuffer.c b/compiler-rt/lib/profile/InstrProfilingBuffer.c index 250e2214359..8fc0117e949 100644 --- a/compiler-rt/lib/profile/InstrProfilingBuffer.c +++ b/compiler-rt/lib/profile/InstrProfilingBuffer.c @@ -41,8 +41,8 @@ int __llvm_profile_write_buffer(char *Buffer) { DataSize, CountersSize, NamesSize, - (uint64_t)CountersBegin, - (uint64_t)NamesBegin + (uintptr_t)CountersBegin, + (uintptr_t)NamesBegin }; /* Write the data. */ diff --git a/compiler-rt/lib/profile/InstrProfilingFile.c b/compiler-rt/lib/profile/InstrProfilingFile.c index 1bd2af323b9..84b13b63dff 100644 --- a/compiler-rt/lib/profile/InstrProfilingFile.c +++ b/compiler-rt/lib/profile/InstrProfilingFile.c @@ -33,8 +33,8 @@ static int writeFile(FILE *File) { DataSize, CountersSize, NamesSize, - (uint64_t)CountersBegin, - (uint64_t)NamesBegin + (uintptr_t)CountersBegin, + (uintptr_t)NamesBegin }; /* Write the data. */ |

