Skip to content

Commit 2935c4c

Browse files
committed
Fix conversion warnings in ConfigTable
1 parent 476a450 commit 2935c4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jrd/ConfigTable.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RecordBuffer* ConfigTable::getRecords(thread_db* tdbb, jrd_rel* relation)
6161
putField(tdbb, rec, DumpField(f_cfg_id, VALUE_INTEGER, sizeof(id), &id));
6262

6363
const char* name = Config::getKeyName(key);
64-
putField(tdbb, rec, DumpField(f_cfg_name, VALUE_STRING, strlen(name), name));
64+
putField(tdbb, rec, DumpField(f_cfg_name, VALUE_STRING, fb_strlen(name), name));
6565

6666
string str;
6767
if (m_conf->getValue(key, str))
@@ -75,7 +75,7 @@ RecordBuffer* ConfigTable::getRecords(thread_db* tdbb, jrd_rel* relation)
7575

7676
const char* valSrc = m_conf->getValueSource(key);
7777
if (valSrc)
78-
putField(tdbb, rec, DumpField(f_cfg_source, VALUE_STRING, strlen(valSrc), valSrc));
78+
putField(tdbb, rec, DumpField(f_cfg_source, VALUE_STRING, fb_strlen(valSrc), valSrc));
7979

8080
recordBuffer->store(rec);
8181
}

0 commit comments

Comments
 (0)