mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-09 12:32:21 +03:00
Fixup for latest libdom.
This commit is contained in:
parent
f8b2e22332
commit
ee9ab42f75
@ -3012,7 +3012,8 @@ bool box_embed(BOX_SPECIAL_PARAMS)
|
|||||||
struct object_params *params;
|
struct object_params *params;
|
||||||
struct object_param *param;
|
struct object_param *param;
|
||||||
dom_namednodemap *attrs;
|
dom_namednodemap *attrs;
|
||||||
unsigned long idx, num_attrs;
|
unsigned long idx;
|
||||||
|
uint32_t num_attrs;
|
||||||
dom_string *src;
|
dom_string *src;
|
||||||
dom_exception err;
|
dom_exception err;
|
||||||
|
|
||||||
|
@ -121,7 +121,8 @@ struct form *html_forms_get_forms(const char *docenc, dom_html_document *doc)
|
|||||||
dom_html_collection *forms;
|
dom_html_collection *forms;
|
||||||
struct form *ret = NULL, *newf;
|
struct form *ret = NULL, *newf;
|
||||||
dom_node *node;
|
dom_node *node;
|
||||||
unsigned long nforms, n;
|
unsigned long n;
|
||||||
|
uint32_t nforms;
|
||||||
|
|
||||||
if (doc == NULL)
|
if (doc == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -332,7 +333,7 @@ parse_input_element(struct form *forms, dom_html_input_element *input)
|
|||||||
|
|
||||||
if (control->type == GADGET_PASSWORD ||
|
if (control->type == GADGET_PASSWORD ||
|
||||||
control->type == GADGET_TEXTBOX) {
|
control->type == GADGET_TEXTBOX) {
|
||||||
long maxlength;
|
int32_t maxlength;
|
||||||
if (dom_html_input_element_get_max_length(
|
if (dom_html_input_element_get_max_length(
|
||||||
input, &maxlength) != DOM_NO_ERR) {
|
input, &maxlength) != DOM_NO_ERR) {
|
||||||
maxlength = -1;
|
maxlength = -1;
|
||||||
|
@ -256,7 +256,8 @@ imagemap_extract(html_content *c)
|
|||||||
{
|
{
|
||||||
dom_nodelist *nlist;
|
dom_nodelist *nlist;
|
||||||
dom_exception exc;
|
dom_exception exc;
|
||||||
unsigned long maybe_maps, mapnr;
|
unsigned long mapnr;
|
||||||
|
uint32_t maybe_maps;
|
||||||
|
|
||||||
exc = dom_document_get_elements_by_tag_name(c->document,
|
exc = dom_document_get_elements_by_tag_name(c->document,
|
||||||
corestring_dom_map,
|
corestring_dom_map,
|
||||||
@ -345,7 +346,8 @@ imagemap_extract_map_entries(dom_node *node, html_content *c,
|
|||||||
{
|
{
|
||||||
dom_nodelist *nlist;
|
dom_nodelist *nlist;
|
||||||
dom_exception exc;
|
dom_exception exc;
|
||||||
unsigned long tag_count, ent;
|
unsigned long ent;
|
||||||
|
uint32_t tag_count;
|
||||||
|
|
||||||
exc = dom_element_get_elements_by_tag_name(node, tname, &nlist);
|
exc = dom_element_get_elements_by_tag_name(node, tname, &nlist);
|
||||||
if (exc != DOM_NO_ERR) {
|
if (exc != DOM_NO_ERR) {
|
||||||
|
Loading…
Reference in New Issue
Block a user