Skip to content

Commit b3c77b5

Browse files
committed
const, as Adriano suggested
1 parent 164cd3c commit b3c77b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jrd/trace/TraceObjects.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ bool descToUTF8(const dsc* param, string& result)
8989

9090
char* hex = result.getBuffer(length * 2);
9191

92-
for (UCHAR* p = address; p < address + length; p++)
92+
for (const UCHAR* p = address; p < address + length; p++)
9393
{
9494
UCHAR c = (*p & 0xF0) >> 4;
9595
*hex++ = c + (c < 10 ? '0' : 'A' - 10);

0 commit comments

Comments
 (0)