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

const, as Adriano suggested

This commit is contained in:
Vlad Khorsun 2025-01-19 22:40:13 +02:00
parent 164cd3c7b2
commit b3c77b5f4d

View File

@ -89,7 +89,7 @@ bool descToUTF8(const dsc* param, string& result)
char* hex = result.getBuffer(length * 2);
for (UCHAR* p = address; p < address + length; p++)
for (const UCHAR* p = address; p < address + length; p++)
{
UCHAR c = (*p & 0xF0) >> 4;
*hex++ = c + (c < 10 ? '0' : 'A' - 10);