| Issue |
175045
|
| Summary |
asan_fake_stack.cpp:78:11: warning: format ‘%zx’ expects argument of type ‘size_t’,
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
jwakely
|
https://github.com/llvm/llvm-project/blob/8ab6b38dab63fda49e6294e3b0d847ae491d7701/compiler-rt/lib/asan/asan_fake_stack.cpp#L77-L84
`gcc/libsanitizer/asan/asan_fake_stack.cpp:78:11: warning: format ‘%zx’ expects argument of type ‘size_t’, but argument 9 has type ‘__sanitizer::u8*’ {aka ‘unsigned char*’} [-Wformat=]`
I don't know whether it should be `%p` and the argument should be cast to `(void*)` or if `0x%zx` is correct and the argument should be cast to `size_t` but it should be fixed.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs