diff --git a/src/dom/node.c b/src/dom/node.c index 83ede15f..cfb15e73 100644 --- a/src/dom/node.c +++ b/src/dom/node.c @@ -125,7 +125,7 @@ done_dom_node_list(struct dom_node_list *list) struct dom_node_search { struct dom_node *key; - unsigned int from, pos, to; + int from, pos, to; }; #define INIT_DOM_NODE_SEARCH(key, list) \ diff --git a/src/session/download.c b/src/session/download.c index c9fa8de3..eb3db7c9 100644 --- a/src/session/download.c +++ b/src/session/download.c @@ -1716,7 +1716,7 @@ struct { { "text/plain", 1 }, { "text/gemini", 0 }, { "application/xhtml+xml", 0 }, /* RFC 3236 */ -#if CONFIG_DOM +#ifdef CONFIG_DOM { "application/docbook+xml", 1 }, { "application/rss+xml", 0 }, { "application/xbel+xml", 1 },