mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Fix a couple of warnings
This commit is contained in:
parent
157217bf89
commit
9c03f64c65
@ -29,7 +29,7 @@ namespace {
|
|||||||
private:
|
private:
|
||||||
char m[32];
|
char m[32];
|
||||||
public:
|
public:
|
||||||
strBitMask(Firebird::AbstractString::const_pointer s, int l) {
|
strBitMask(Firebird::AbstractString::const_pointer s, Firebird::AbstractString::size_type l) {
|
||||||
memset(m, 0, sizeof(m));
|
memset(m, 0, sizeof(m));
|
||||||
if (l == Firebird::AbstractString::npos) {
|
if (l == Firebird::AbstractString::npos) {
|
||||||
l = strlen(s);
|
l = strlen(s);
|
||||||
@ -317,7 +317,7 @@ namespace Firebird {
|
|||||||
--e;
|
--e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int NewLength = e - b + 1;
|
size_type NewLength = e - b + 1;
|
||||||
|
|
||||||
if (NewLength == length())
|
if (NewLength == length())
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user