summaryrefslogtreecommitdiff
path: root/src/transport/tcp_connection_legacy.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-10-16 10:20:32 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-10-16 10:20:32 +0200
commit09c3455b2c3dd01e52ac2dd9c62c41b3ebcf8028 (patch)
tree8a877f4c4c87a4fafc78b31735392b423360b5b8 /src/transport/tcp_connection_legacy.c
parent37b7ecf6fd4ac226dad911ef22a67a96d5ce514d (diff)
-fix more warnings
Diffstat (limited to 'src/transport/tcp_connection_legacy.c')
-rw-r--r--src/transport/tcp_connection_legacy.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/transport/tcp_connection_legacy.c b/src/transport/tcp_connection_legacy.c
index 3e173b8a4..924362ef2 100644
--- a/src/transport/tcp_connection_legacy.c
+++ b/src/transport/tcp_connection_legacy.c
@@ -1142,9 +1142,9 @@ RETRY:
return;
}
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "receive_ready read %u/%u bytes from `%s' (%p)!\n",
- (unsigned int) ret,
- connection->max,
+ "receive_ready read %lu/%lu bytes from `%s' (%p)!\n",
+ (unsigned long) ret,
+ (unsigned long) connection->max,
GNUNET_a2s (connection->addr, connection->addrlen),
connection);
GNUNET_assert (NULL != (receiver = connection->receiver));
@@ -1327,8 +1327,8 @@ connect_error (void *cls)
GNUNET_CONNECTION_TransmitReadyNotify notify;
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Transmission request of size %u fails (%s/%u), connection failed (%p).\n",
- connection->nth.notify_size,
+ "Transmission request of size %lu fails (%s/%u), connection failed (%p).\n",
+ (unsigned long) connection->nth.notify_size,
connection->hostname,
connection->port,
connection);
@@ -1423,9 +1423,9 @@ RETRY:
return;
}
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Connection transmitted %u/%u bytes to `%s' (%p)\n",
- (unsigned int) ret,
- have,
+ "Connection transmitted %lu/%lu bytes to `%s' (%p)\n",
+ (unsigned long) ret,
+ (unsigned long) have,
GNUNET_a2s (connection->addr, connection->addrlen),
connection);
connection->write_buffer_pos += ret;