From 5081c3ea8871b6943bddd4b6fb5c9079e062be4c Mon Sep 17 00:00:00 2001 From: Ali Abdel-Qader Date: Wed, 28 Oct 2020 22:31:14 -0400 Subject: [PATCH] convert clipboard data type variable to Looking Glass enum before passing it to function --- client/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.c b/client/src/main.c index b09516f4..0fc25b23 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -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); } }