CPP needs an additional cast. Fixes: #62282 Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>