mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[warnigns] fix lots of bugprone warnings
* update-settings-tests: properly cast types in getter/setter * wtypes: fix PHANDLE definition * wStream: fix INT64 write function warnings * Simplify HANDLE copy in channels, just assign after proper cast
This commit is contained in:
@@ -270,7 +270,7 @@ static BOOL pf_server_setup_channels(freerdp_peer* peer)
|
||||
|
||||
rc = TRUE;
|
||||
fail:
|
||||
free(accepted_channels);
|
||||
free((void*)accepted_channels);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user