convert clipboard data type variable to Looking Glass enum before passing it to function

This commit is contained in:
Ali Abdel-Qader 2020-10-28 22:31:14 -04:00 committed by Geoffrey McRae
parent 3284431785
commit 5081c3ea88

View File

@ -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);
}
}