[glib-networking/windows-build2] tests: fix warnings on windows
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/windows-build2] tests: fix warnings on windows
- Date: Wed, 18 Dec 2019 13:25:27 +0000 (UTC)
commit ec4af3a5b71a8305f508c8eb7437bfe4d4236a69
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Wed Dec 18 14:24:49 2019 +0100
tests: fix warnings on windows
tls/tests/connection.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index 3c0c419..76c7fc0 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -92,7 +92,7 @@ typedef struct {
gboolean server_ever_handshaked;
GTlsCertificate *server_certificate;
const gchar * const *server_protocols;
- guint64 incoming_connection_delay;
+ gulong incoming_connection_delay;
char buf[128];
gssize nread, nwrote;
@@ -2502,7 +2502,7 @@ test_socket_timeout (TestConnection *test,
GSocketClient *client;
GError *error = NULL;
- test->incoming_connection_delay = 1.1 * G_USEC_PER_SEC;
+ test->incoming_connection_delay = (gulong)(1.1 * G_USEC_PER_SEC);
start_async_server_service (test, G_TLS_AUTHENTICATION_NONE, WRITE_THEN_CLOSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]