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

const correctness

This commit is contained in:
alexpeshkoff 2010-02-08 13:39:37 +00:00
parent ca190adcbd
commit 8f86a54bbd

View File

@ -188,7 +188,7 @@ void makePermanentVector(ISC_STATUS* perm, const ISC_STATUS* trans, FB_THREAD_ID
case isc_arg_sql_state:
{
const char* temp = reinterpret_cast<char*>(*trans++);
size_t len = strlen(temp);
const size_t len = strlen(temp);
*perm++ = (ISC_STATUS)(IPTR) (allStrings->alloc(temp, len, thr));
}
break;