mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[client] Fix writing incorrect type for integer values in RDP file
This commit is contained in:
parent
d5d9ea1b0c
commit
87af371f72
@ -1573,7 +1573,7 @@ static SSIZE_T write_int_parameters(const rdpFile* file, char* buffer, size_t si
|
||||
if (~cur->val)
|
||||
{
|
||||
const SSIZE_T res = freerdp_client_write_setting_to_buffer(
|
||||
&buffer, &size, "%s:s:%" PRIu32, cur->key, cur->val);
|
||||
&buffer, &size, "%s:i:%" PRIu32, cur->key, cur->val);
|
||||
if (res < 0)
|
||||
return res;
|
||||
totalSize += res;
|
||||
|
Loading…
Reference in New Issue
Block a user