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

Fix a couple of warnings

This commit is contained in:
aafemt 2004-02-17 11:08:09 +00:00
parent 157217bf89
commit 9c03f64c65

View File

@ -29,7 +29,7 @@ namespace {
private:
char m[32];
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));
if (l == Firebird::AbstractString::npos) {
l = strlen(s);
@ -317,7 +317,7 @@ namespace Firebird {
--e;
}
}
int NewLength = e - b + 1;
size_type NewLength = e - b + 1;
if (NewLength == length())
return;