From 989bc6e190ac37f60c273dafa8556741b28618b0 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 13 Jul 2015 19:45:02 +0200 Subject: Fix build on 64-bit Haiku - Fix path to look for libnetwork to work also on non-hybrid systems - Remove references to /boot/common as it is not used anymore - Fix a few type errors - Use compiler provided va_copy when available --- beos/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'beos/window.cpp') 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); -- cgit v1.2.3