forked from OSchip/llvm-project
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:
parent
900e9a3da0
commit
089b5c9174
|
@ -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. */
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue