mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 20:03:03 +01:00
- Avoid signed-unsigned comparison
This commit is contained in:
parent
98402f979d
commit
20da14459f
@ -114,14 +114,14 @@ DirectoryList::~DirectoryList() {
|
||||
void DirectoryList::Initialize(void) {
|
||||
const Firebird::string val = GetConfigString();
|
||||
nDirs = 1;
|
||||
int i;
|
||||
unsigned int i;
|
||||
for (i = 0; i < val.length(); i++) {
|
||||
if (val[i] == ';') {
|
||||
nDirs++;
|
||||
}
|
||||
}
|
||||
ConfigDirs = New ParsedPath[nDirs];
|
||||
int Last = 0;
|
||||
unsigned int Last = 0;
|
||||
nDirs = 0;
|
||||
Firebird::string Root = Config::getRootDirectory();
|
||||
for (i = 0; i < val.length(); i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user