mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[client,mac] fix invalid const for variable
This commit is contained in:
committed by
Martin Fleisz
parent
0595f2f7fe
commit
1f827f6be3
@@ -365,7 +365,7 @@ mac_cliprdr_server_format_data_response(CliprdrClientContext *cliprdr,
|
||||
formatId = ClipboardRegisterFormat(mfc->clipboard, "text/plain");
|
||||
|
||||
UINT32 dstSize = 0;
|
||||
const char *data = ClipboardGetData(mfc->clipboard, formatId, &dstSize);
|
||||
char *data = ClipboardGetData(mfc->clipboard, formatId, &dstSize);
|
||||
|
||||
dstSize = strnlen(data, dstSize); /* we need the size without the null terminator */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user