mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-18 15:13:00 +08:00
Squash warning
This commit is contained in:
parent
ebd2e89faa
commit
31698678fb
@ -4577,7 +4577,7 @@ void mg_tls_free(struct mg_connection *c) {
|
||||
|
||||
size_t mg_tls_pending(struct mg_connection *c) {
|
||||
struct mg_tls *tls = (struct mg_tls *) c->tls;
|
||||
return tls == NULL ? 0 : SSL_pending(tls->ssl);
|
||||
return tls == NULL ? 0 : (size_t) SSL_pending(tls->ssl);
|
||||
}
|
||||
|
||||
long mg_tls_recv(struct mg_connection *c, void *buf, size_t len) {
|
||||
|
@ -143,7 +143,7 @@ void mg_tls_free(struct mg_connection *c) {
|
||||
|
||||
size_t mg_tls_pending(struct mg_connection *c) {
|
||||
struct mg_tls *tls = (struct mg_tls *) c->tls;
|
||||
return tls == NULL ? 0 : SSL_pending(tls->ssl);
|
||||
return tls == NULL ? 0 : (size_t) SSL_pending(tls->ssl);
|
||||
}
|
||||
|
||||
long mg_tls_recv(struct mg_connection *c, void *buf, size_t len) {
|
||||
|
Loading…
Reference in New Issue
Block a user