xrdpapi: Fix simple test regression

This commit is contained in:
matt335672
2025-12-28 11:34:06 +00:00
parent 6234ccd2f4
commit 9c5ee210cd
+1 -1
View File
@@ -158,7 +158,7 @@ run_echo_test(void)
/* validate the echo */
for (i = 0; i < bytes_read; i++, rd_ptr++)
{
if (*rd_ptr != (unsigned char) in_buf[i])
if (*rd_ptr != in_buf[i])
{
printf("### data mismatch: expected 0x%x got 0x%x\n",
(unsigned char) *rd_ptr, (unsigned char) in_buf[i]);