8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 23:23:04 +01:00

- Avoid signed-unsigned comparison

This commit is contained in:
brodsom 2003-04-02 11:14:29 +00:00
parent 98402f979d
commit 20da14459f

View File

@ -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++) {