[libsoup/uint-msvc: 2/2] http2-test.c: Fix build on Visual Studio
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/uint-msvc: 2/2] http2-test.c: Fix build on Visual Studio
- Date: Mon, 21 Mar 2022 19:05:58 +0000 (UTC)
commit d49694b4a458290c1c3dd38dd8ba8e11a09d1c57
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Mar 21 18:03:04 2022 +0800
http2-test.c: Fix build on Visual Studio
Visual Studio does not define uint for plain C, so just use unsigned
int.
tests/http2-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]