Skip to content

Commit

Permalink
index_server: Fix the build.
Browse files Browse the repository at this point in the history
Partially based on a patch from Paradoxianer. Thanks!
  • Loading branch information
waddlesplash committed Jul 25, 2015
1 parent 3860139 commit ca8ed5e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/servers/index/AnalyserDispatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class AnalyserDispatcher : public BLooper {
private:
FileAnalyser* _FindAnalyser(const BString& name);

vint32 fStopped;
int32 fStopped;
};

#endif // ANALYSER_DISPATCHER
2 changes: 1 addition & 1 deletion src/servers/index/IndexServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ IndexServer::_StartWatchingAddOns()
fPulseRunner = new BMessageRunner(&fAddOnMonitorHandler, &pulse, 1000000LL);
// the monitor handler needs a pulse to check if add-ons are ready

&fAddOnMonitorHandler->AddAddOnDirectories("index_server");
fAddOnMonitorHandler.AddAddOnDirectories("index_server");
}


Expand Down
4 changes: 2 additions & 2 deletions src/servers/index/VolumeWatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ WatchNameHandler::EntryMoved(const char *name, const char *fromName,
{
entry_ref ref(device, to_directory, name);
entry_ref refFrom(device, from_directory, fromName);

fVolumeWatcher->fMovedList.CurrentList()->push_back(ref);
fVolumeWatcher->fMovedFromList.CurrentList()->push_back(refFrom);
fVolumeWatcher->_NewEntriesArrived();
Expand Down Expand Up @@ -470,7 +470,7 @@ VolumeWatcher::StartWatching()
void
VolumeWatcher::Stop()
{

char name[255];
fVolume.GetName(name);

Expand Down
2 changes: 1 addition & 1 deletion src/servers/index/VolumeWatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class VolumeWorker : public AnalyserDispatcher
void _SetBusy(bool busy = true);

VolumeWatcher* fVolumeWatcher;
vint32 fBusy;
int32 fBusy;
};


Expand Down

0 comments on commit ca8ed5e

Please sign in to comment.