summaryrefslogtreecommitdiff
path: root/tests/uri-parsing.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2006-11-03 18:31:08 +0000
committerDan Winship <danw@src.gnome.org>2006-11-03 18:31:08 +0000
commit5d1ec83b575dfd265de78c3b584527b7422611e1 (patch)
tree99de41240cde062d75d7da63f922da3966edf871 /tests/uri-parsing.c
parentc1a212725b1b2ddacc156efba72ecc3f84fdac28 (diff)
downloadlibsoup-5d1ec83b575dfd265de78c3b584527b7422611e1.tar.gz
libsoup-5d1ec83b575dfd265de78c3b584527b7422611e1.tar.bz2
libsoup-5d1ec83b575dfd265de78c3b584527b7422611e1.zip
fix lots of warnings. Partially from patches from Andrew W. Nosenko, and
* libsoup/*.c: fix lots of warnings. Partially from patches from Andrew W. Nosenko, and also some fixes from libsoup-pre214-branch.
Diffstat (limited to 'tests/uri-parsing.c')
-rw-r--r--tests/uri-parsing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/uri-parsing.c b/tests/uri-parsing.c
index 9ff9cfed..7ae3fbc6 100644
--- a/tests/uri-parsing.c
+++ b/tests/uri-parsing.c
@@ -7,7 +7,7 @@
#include "libsoup/soup-uri.h"
struct {
- char *uri_string, *result;
+ const char *uri_string, *result;
} abs_tests[] = {
{ "foo:", "foo:" },
{ "file:/dev/null", "file:/dev/null" },
@@ -33,9 +33,9 @@ struct {
int num_abs_tests = G_N_ELEMENTS(abs_tests);
/* From RFC 2396. */
-char *base = "http://a/b/c/d;p?q";
+const char *base = "http://a/b/c/d;p?q";
struct {
- char *uri_string, *result;
+ const char *uri_string, *result;
} rel_tests[] = {
{ "g:h", "g:h" },
{ "g", "http://a/b/c/g" },