Skip to content

Commit

Permalink
const, as Adriano suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
hvlad committed Jan 19, 2025
1 parent 164cd3c commit b3c77b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jrd/trace/TraceObjects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b3c77b5

Please sign in to comment.