Skip to content

Commit

Permalink
tls-client: Fix int sign mismatch comparison warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres Amaya Garcia committed Aug 2, 2017
1 parent d939080 commit f117d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tls-client/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class HelloHTTPS {
_bpos = snprintf(_buffer, sizeof(_buffer) - 1,
"GET %s HTTP/1.1\nHost: %s\n\n", path, HTTPS_SERVER_NAME);

int offset = 0;
size_t offset = 0;
do {
ret = mbedtls_ssl_write(&_ssl,
(const unsigned char *) _buffer + offset,
Expand Down

0 comments on commit f117d53

Please sign in to comment.