mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 07:23:03 +01:00
const correctness
This commit is contained in:
parent
ca190adcbd
commit
8f86a54bbd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user