[libsoup/hsts: 76/101] Use guint instead of uint



commit 2a1c878b596513de9c66a51a89a5fa61d8e57c14
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Thu Aug 16 12:36:56 2018 +0300

    Use guint instead of uint

 tests/hsts-test.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tests/hsts-test.c b/tests/hsts-test.c
index aa77d6e2..0207823d 100644
--- a/tests/hsts-test.c
+++ b/tests/hsts-test.c
@@ -303,7 +303,8 @@ do_hsts_invalid_values_test (void)
 static void
 do_hsts_extra_values_test (void)
 {
-       for (int i = 0; i < 3; i++) {
+       int i;
+       for (i = 0; i < 3; i++) {
                SoupSession *session = hsts_session_new (NULL);
                char *uri = g_strdup_printf ("https://localhost/extra-values-%i";, i);
                session_get_uri (session, "http://localhost";, SOUP_STATUS_MOVED_PERMANENTLY);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]