Suppressed many integer size warnings by a mix of type adjustments and casts,
none of which should have a real effect. --HG-- branch : WINDOWSPORT
This commit is contained in:
@@ -144,13 +144,11 @@ FsIndexer::~FsIndexer()
|
||||
void *status;
|
||||
if (m_haveInternQ) {
|
||||
status = m_iwqueue.setTerminateAndWait();
|
||||
LOGDEB0(("FsIndexer: internfile wrkr status: %ld (1->ok)\n",
|
||||
long(status)));
|
||||
LOGDEB0(("FsIndexer: internfile wrkr status: %p (1->ok)\n", status));
|
||||
}
|
||||
if (m_haveSplitQ) {
|
||||
status = m_dwqueue.setTerminateAndWait();
|
||||
LOGDEB0(("FsIndexer: dbupd worker status: %ld (1->ok)\n",
|
||||
long(status)));
|
||||
LOGDEB0(("FsIndexer: dbupd worker status: %p (1->ok)\n", status));
|
||||
}
|
||||
delete m_stableconfig;
|
||||
#endif // IDX_THREADS
|
||||
|
||||
@@ -292,7 +292,7 @@ static bool checktopdirs(RclConfig *config, vector<string>& nonexist)
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (access(it->c_str(), 0) < 0) {
|
||||
if (!path_exists(*it)) {
|
||||
nonexist.push_back(*it);
|
||||
}
|
||||
}
|
||||
@@ -302,7 +302,7 @@ static bool checktopdirs(RclConfig *config, vector<string>& nonexist)
|
||||
if (config->getConfParam("skippedPaths", &tdl, true)) {
|
||||
for (vector<string>::iterator it = tdl.begin(); it != tdl.end(); it++) {
|
||||
*it = path_tildexpand(*it);
|
||||
if (access(it->c_str(), 0) < 0) {
|
||||
if (!path_exists(*it)) {
|
||||
nonexist.push_back(*it);
|
||||
}
|
||||
}
|
||||
@@ -311,7 +311,7 @@ static bool checktopdirs(RclConfig *config, vector<string>& nonexist)
|
||||
if (config->getConfParam("daemSkippedPaths", &tdl, true)) {
|
||||
for (vector<string>::iterator it = tdl.begin(); it != tdl.end(); it++) {
|
||||
*it = path_tildexpand(*it);
|
||||
if (access(it->c_str(), 0) < 0) {
|
||||
if (!path_exists(*it)) {
|
||||
nonexist.push_back(*it);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user