On Mon, Jun 05, 2023 at 14:43:31 +0200, Michal Privoznik wrote:
> In one of its commits [1] libssh2 changed the 'text' member of
> LIBSSH2_USERAUTH_KBDINT_PROMPT struct from 'char' to 'unsigned
> char'. But we g_strdup() the member in order to fill 'prompt'
> member of virConnectCredential struct.
In one of its commits [1] libssh2 changed the 'text' member of
LIBSSH2_USERAUTH_KBDINT_PROMPT struct from 'char' to 'unsigned
char'. But we g_strdup() the member in order to fill 'prompt'
member of virConnectCredential struct. Typecast the value to
avoid warnings. Also, drop @prompt variable, as it