Skip to content

Commit 3c286b7

Browse files
author
Ramki Ananthakrishnan
committed
Fixed error due to implicit conversion from unsigned 'int' to 'char'.
The nopoll API expect 'char'. It does not seem to matter what values are passed for the testing as these values are random and not being checked anywhere for verification.
1 parent ab273dd commit 3c286b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/nopoll-regression-client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,8 +1678,8 @@ nopoll_bool test_17_send_and_receive_test (noPollCtx * ctx, noPollConn * conn, n
16781678

16791679
/* printf ("Test 17: sending partial content..\n"); */
16801680
_socket = nopoll_conn_socket (conn);
1681-
buffer[0] = 129;
1682-
buffer[1] = 150;
1681+
buffer[0] = 126;
1682+
buffer[1] = 127;
16831683
send (_socket, buffer, 2, 0);
16841684

16851685
if (read_after_header) {

0 commit comments

Comments
 (0)