mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 14:43:03 +01:00
const, as Adriano suggested
This commit is contained in:
parent
164cd3c7b2
commit
b3c77b5f4d
@ -89,7 +89,7 @@ bool descToUTF8(const dsc* param, string& result)
|
|||||||
|
|
||||||
char* hex = result.getBuffer(length * 2);
|
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;
|
UCHAR c = (*p & 0xF0) >> 4;
|
||||||
*hex++ = c + (c < 10 ? '0' : 'A' - 10);
|
*hex++ = c + (c < 10 ? '0' : 'A' - 10);
|
||||||
|
Loading…
Reference in New Issue
Block a user