From 25d86f0ab89c81af69ef548208f707d88b9f34c3 Mon Sep 17 00:00:00 2001
From: Paradoxon <two4god@gmail.com>
Date: Sat, 6 Jun 2015 13:48:08 +0200
Subject: [PATCH 56/56] fixes building of index_server
---
src/servers/index/IndexServer.cpp | 2 +-
src/servers/index/VolumeWatcher.cpp | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/servers/index/IndexServer.cpp b/src/servers/index/IndexServer.cpp
index 9270609..ef73b55 100644
a
|
b
|
IndexServer::_StartWatchingAddOns()
|
317 | 317 | fPulseRunner = new BMessageRunner(&fAddOnMonitorHandler, &pulse, 1000000LL); |
318 | 318 | // the monitor handler needs a pulse to check if add-ons are ready |
319 | 319 | |
320 | | &fAddOnMonitorHandler->AddAddOnDirectories("index_server"); |
| 320 | fAddOnMonitorHandler.AddAddOnDirectories("index_server"); |
321 | 321 | } |
322 | 322 | |
323 | 323 | |
diff --git a/src/servers/index/VolumeWatcher.cpp b/src/servers/index/VolumeWatcher.cpp
index a945e17..7a3b500 100644
a
|
b
|
AnalyserDispatcher::~AnalyserDispatcher()
|
132 | 132 | void |
133 | 133 | AnalyserDispatcher::Stop() |
134 | 134 | { |
135 | | atomic_set(&fStopped, 1); |
| 135 | atomic_set((int32*)&fStopped, 1); |
136 | 136 | } |
137 | 137 | |
138 | 138 | |
139 | 139 | bool |
140 | 140 | AnalyserDispatcher::Stopped() |
141 | 141 | { |
142 | | return (atomic_get(&fStopped) != 0); |
| 142 | return (atomic_get((int32*)&fStopped) != 0); |
143 | 143 | } |
144 | 144 | |
145 | 145 | |
… |
… |
VolumeWorker::MessageReceived(BMessage *message)
|
277 | 277 | bool |
278 | 278 | VolumeWorker::IsBusy() |
279 | 279 | { |
280 | | return (atomic_get(&fBusy) != 0); |
| 280 | return (atomic_get((int32*)&fBusy) != 0); |
281 | 281 | } |
282 | 282 | |
283 | 283 | |
… |
… |
void
|
326 | 326 | VolumeWorker::_SetBusy(bool busy) |
327 | 327 | { |
328 | 328 | if (busy) |
329 | | atomic_set(&fBusy, 1); |
| 329 | atomic_set((int32*)&fBusy, 1); |
330 | 330 | else |
331 | | atomic_set(&fBusy, 0); |
| 331 | atomic_set((int32*)&fBusy, 0); |
332 | 332 | } |
333 | 333 | |
334 | 334 | |