Avoid GCC's "cast from pointer to integer of different size" warning.

This is a bit of a stab in the dark as I'm not sure I've got these
source files compiling correctly locally. (and the warning only
reproduces on a 32bit build anyway)

llvm-svn: 204521
This commit is contained in:
David Blaikie 2014-03-21 21:45:49 +00:00
parent 900e9a3da0
commit 089b5c9174
2 changed files with 4 additions and 4 deletions

View File

@ -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. */

View File

@ -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. */