summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-03-21 18:03:04 +0800
committerPatrick Griffis <pgriffis@igalia.com>2022-03-21 19:05:56 +0000
commitd49694b4a458290c1c3dd38dd8ba8e11a09d1c57 (patch)
treed77e112441da1a4707c8e62458fe5232e3a7edad
parent04ca3df02728d7e073022de2a77ccbb0dc85e44a (diff)
downloadlibsoup-d49694b4a458290c1c3dd38dd8ba8e11a09d1c57.tar.gz
http2-test.c: Fix build on Visual Studio
Visual Studio does not define uint for plain C, so just use unsigned int.
-rw-r--r--tests/http2-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http2-test.c b/tests/http2-test.c
index 8ac00173..cbc6c41b 100644
--- a/tests/http2-test.c
+++ b/tests/http2-test.c
@@ -566,7 +566,7 @@ do_connections_test (Test *test, gconstpointer data)
#define N_TESTS 100
- for (uint i = 0; i < N_TESTS; ++i) {
+ for (unsigned int i = 0; i < N_TESTS; ++i) {
SoupMessage *msg = soup_message_new ("GET", "https://127.0.0.1:5000/slow");
soup_session_send_async (test->session, msg, G_PRIORITY_DEFAULT, NULL, on_send_ready, &complete_count);
g_object_unref (msg);