8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:00:38 +01:00

Take advantage of the full range in name_length(), in case we need it.

In most platforms, int <==> ptrdiff_t
This commit is contained in:
robocop 2004-09-26 07:38:34 +00:00
parent 58d004a0c4
commit 821a83eaba
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ char* exact_name_limit(char* const str, size_t bufsize)
}
USHORT name_length(const TEXT* const name)
int name_length(const TEXT* const name)
{
/**************************************
*

View File

@ -38,7 +38,7 @@ namespace fb_utils
str.rtrim();
}
char* exact_name_limit(char* const str, size_t bufsize);
USHORT name_length(const TEXT* const name);
int name_length(const TEXT* const name);
} // namespace fb_utils
#endif // INCLUDE_UTILS_PROTO_H