libfreerdp: core: fix const correctness of freerdp_settings_clone
This commit is contained in:
parent
c0ff7b1fca
commit
13fb3ffc39
@ -1558,7 +1558,7 @@ extern "C" {
|
||||
#define FREERDP_SETTINGS_SERVER_MODE 0x00000001
|
||||
|
||||
FREERDP_API rdpSettings* freerdp_settings_new(DWORD flags);
|
||||
FREERDP_API rdpSettings* freerdp_settings_clone(rdpSettings* settings);
|
||||
FREERDP_API rdpSettings* freerdp_settings_clone(const rdpSettings* settings);
|
||||
FREERDP_API BOOL freerdp_settings_copy(rdpSettings* dst, const rdpSettings* src);
|
||||
FREERDP_API void freerdp_settings_free(rdpSettings* settings);
|
||||
|
||||
|
@ -1129,7 +1129,7 @@ out_fail:
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
rdpSettings* freerdp_settings_clone(rdpSettings* settings)
|
||||
rdpSettings* freerdp_settings_clone(const rdpSettings* settings)
|
||||
{
|
||||
rdpSettings* _settings = (rdpSettings*) calloc(1, sizeof(rdpSettings));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user