We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b16bd1 commit b16271eCopy full SHA for b16271e
src/libvncclient/ardauth.c
@@ -152,7 +152,7 @@ static rfbBool ConsumeRSASRPServerFinalIfPresent(rfbClient *client) {
152
uint32_t n = 0;
153
uint8_t *buf = NULL;
154
int wm = WaitForMessage(client, 1500000);
155
- ssize_t r;
+ int r;
156
157
if (wm < 0)
158
return FALSE;
@@ -164,7 +164,7 @@ static rfbBool ConsumeRSASRPServerFinalIfPresent(rfbClient *client) {
164
if (client->buffered > 0 || client->tlsSession || ARD_CLIENT_HAS_SASL_STATE(client))
165
return TRUE;
166
r = recv(client->sock, (char *)hdr, sizeof(hdr), MSG_PEEK);
167
- if (r < (ssize_t)sizeof(hdr))
+ if (r < (int)sizeof(hdr))
168
169
}
170
n = ReadBEU32(hdr);
0 commit comments