mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 05:53:40 +00:00
convert clipboard data type variable to Looking Glass enum before passing it to function
This commit is contained in:
parent
3284431785
commit
5081c3ea88
@ -669,7 +669,7 @@ void spiceClipboardData(const SpiceDataType type, uint8_t * buffer, uint32_t siz
|
||||
struct CBRequest * cbr;
|
||||
if (ll_shift(state.cbRequestList, (void **)&cbr))
|
||||
{
|
||||
cbr->replyFn(cbr->opaque, type, buffer, size);
|
||||
cbr->replyFn(cbr->opaque, spice_type_to_clipboard_type(type), buffer, size);
|
||||
free(cbr);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user