mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:43:04 +01:00
Reduce number of warnings for 64-bit targets.
This commit is contained in:
parent
f027b761a5
commit
b22ca46d6c
@ -117,7 +117,7 @@ static bool texttype_unicode_init(texttype* tt,
|
||||
bool LCICU_setup_attributes(const ASCII* name, const ASCII* charSetName, const ASCII* configInfo,
|
||||
const Firebird::string& specificAttributes, Firebird::string& newSpecificAttributes)
|
||||
{
|
||||
int len = strlen(name);
|
||||
const size_t len = strlen(name);
|
||||
|
||||
if (len > 8 && strcmp(name + len - 8, "_UNICODE") == 0)
|
||||
{
|
||||
@ -143,8 +143,6 @@ bool LCICU_texttype_init(texttype* tt,
|
||||
ULONG specificAttributesLength,
|
||||
const ASCII* configInfo)
|
||||
{
|
||||
int len = strlen(name);
|
||||
|
||||
if (strcmp(name, charSetName) == 0)
|
||||
{
|
||||
return texttype_default_init(
|
||||
@ -152,6 +150,8 @@ bool LCICU_texttype_init(texttype* tt,
|
||||
specificAttributes, specificAttributesLength, configInfo);
|
||||
}
|
||||
|
||||
const size_t len = strlen(name);
|
||||
|
||||
if (len > 8 && strcmp(name + len - 8, "_UNICODE") == 0)
|
||||
{
|
||||
return texttype_unicode_init(
|
||||
|
Loading…
Reference in New Issue
Block a user