diff options
| author | Marek Szuba <marecki@gentoo.org> | 2023-08-21 18:49:40 +0100 |
|---|---|---|
| committer | Marek Szuba <marecki@gentoo.org> | 2023-08-21 19:08:48 +0100 |
| commit | c21efb2f184c2d4189a623d9dd2df088295eecfb (patch) | |
| tree | 61b9f4c19dcee5c109ba8367218c366099cf0525 /dev-cpp/prometheus-cpp | |
| parent | f09adbe8d2a5fec4cceef1709735b2513a0b9e45 (diff) | |
| download | gentoo-c21efb2f184c2d4189a623d9dd2df088295eecfb.tar.gz gentoo-c21efb2f184c2d4189a623d9dd2df088295eecfb.tar.bz2 gentoo-c21efb2f184c2d4189a623d9dd2df088295eecfb.zip | |
app-misc/ola: do not use reinterpret_cast on NULL
In C++, nullptr_t values generally cannot be converted to a pointer
using reinterpret_cast. I say "generally" because glibc apparently
lets it slide; musl on the other hand does not. Do it the proper way
and use static_cast instead.
Closes: https://bugs.gentoo.org/877319
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-cpp/prometheus-cpp')
0 files changed, 0 insertions, 0 deletions
