mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
Fix implicit type conversions and warnings on windows builds
The visual studio windows builds spit dozens of lines of warnings on these. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@ -1453,6 +1453,8 @@ static void torture_options_getopt(void **state)
|
||||
/* Test with all the supported options */
|
||||
rc = ssh_options_getopt(session, &argc, (char **)argv);
|
||||
#ifdef _MSC_VER
|
||||
UNUSED_VAR(new_level);
|
||||
|
||||
/* Not supported in windows */
|
||||
assert_ssh_return_code_equal(session, rc, -1);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user