8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 19:23:03 +01:00
This commit is contained in:
robocop 2009-08-07 12:14:25 +00:00
parent 1ed978a7bf
commit edfbcd85da

View File

@ -601,7 +601,7 @@ static void internal_error(ISC_STATUS status, int number, const TEXT* file, int
if (file)
{
// Remove path information
const TEXT* ptr = (TEXT*)file + strlen(file);
const TEXT* ptr = file + strlen(file);
for (; ptr > file; ptr--)
{
if ((*ptr == '/') || (*ptr == '\\'))