about summary refs log tree commit diff stats
path: root/src/tidy_tls.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2013-05-02 11:09:30 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2013-05-02 11:09:30 -0400
commit844a17014bd45706a13ee5318b36a56fbcf6924c (patch)
tree1f6fbe9df293ae7e477671384c5a69a195e15b26 /src/tidy_tls.c
parent81905f18dc0594e372cf38cfb0e0b71b69849a43 (diff)
downloadlynx-snapshots-844a17014bd45706a13ee5318b36a56fbcf6924c.tar.gz
snapshot of project "lynx", label v2-8-8dev-15c
Diffstat (limited to 'src/tidy_tls.c')
-rw-r--r--src/tidy_tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tidy_tls.c b/src/tidy_tls.c
index ad4ea37f..e08f1b79 100644
--- a/src/tidy_tls.c
+++ b/src/tidy_tls.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: tidy_tls.c,v 1.10 2011/05/11 10:49:57 tom Exp $
+ * $LynxId: tidy_tls.c,v 1.11 2013/05/01 08:52:41 tom Exp $
  * Copyright 2008-2011,2011 Thomas E. Dickey
  * with fix Copyright 2008 by Thomas Viehmann
  *
@@ -576,7 +576,7 @@ int SSL_read(SSL * ssl, void *buffer, int length)
 int SSL_set_fd(SSL * ssl, int fd)
 {
     gnutls_transport_set_ptr(ssl->gnutls_state,
-			     (gnutls_transport_ptr_t) (fd));
+			     (gnutls_transport_ptr_t) (intptr_t) (fd));
     return 1;
 }