clipboard.cpp test: Fix invalid type
Signed-off-by: Jaroslaw Pelczar <[email protected]> Change-Id: Ie1d098d23915d7585f7e8023adcea4ed0abca55f Reviewed-on: https://review.haiku-os.org/c/haiku/+/1767 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
1abefaffb7
commit
f31e9e37d9
@@ -88,7 +88,7 @@ void
|
||||
clipboard_dump(BClipboard &clipboard)
|
||||
{
|
||||
const char *data;
|
||||
int32 size;
|
||||
ssize_t size;
|
||||
if (clipboard.Data()->FindData("text/plain", B_MIME_TYPE,
|
||||
(const void**)&data, &size) == B_OK) {
|
||||
printf("%.*s\n", (int)size, data);
|
||||
|
||||
Reference in New Issue
Block a user