From 443d6f3e04682f3112162d2ddf7c67224652e424 Mon Sep 17 00:00:00 2001 From: François Revol Date: Tue, 28 Jan 2014 15:14:34 +0100 Subject: beos: Account for change in atomic_add() prototype in Haiku Since the scheduler branch merge, atomic_add() takes a pointer to int32, doesn't require the target to be volatile anymore. --- 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 0040a1d0c..5009c260b 100644 --- a/beos/window.cpp +++ b/beos/window.cpp @@ -80,7 +80,7 @@ struct gui_window { // those are the last queued event of their kind, // we can safely drop others and avoid wasting cpu. // number of pending resizes - vint32 pending_resizes; + int32 pending_resizes; // accumulated rects of pending redraws //volatile BMessage *lastRedraw; // UNUSED YET -- cgit v1.2.3