summaryrefslogtreecommitdiff
path: root/beos/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'beos/window.cpp')
-rw-r--r--beos/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/beos/window.cpp b/beos/window.cpp
index 2763bc372..40b2eccdb 100644
--- a/beos/window.cpp
+++ b/beos/window.cpp
@@ -1275,7 +1275,7 @@ void gui_get_clipboard(char **buffer, size_t *length)
clip = be_clipboard->Data();
if (clip) {
const char *text;
- int32 textlen;
+ ssize_t textlen;
if (clip->FindData("text/plain", B_MIME_TYPE,
(const void **)&text, &textlen) >= B_OK) {
*buffer = (char *)malloc(textlen);