[libsoup/hsts: 7/36] Use guint instead of uint



commit 75f1fed0529294bc96fa04c58e24e48bc7ee7dfc
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]