Gitweb links:
...log
http://git.netsurf-browser.org/libdom.git/shortlog/603ef81d5f715a16680278affa49f0b95b81c347
...commit
http://git.netsurf-browser.org/libdom.git/commit/603ef81d5f715a16680278affa49f0b95b81c347
...tree
http://git.netsurf-browser.org/libdom.git/tree/603ef81d5f715a16680278affa49f0b95b81c347
The branch, master has been updated
via 603ef81d5f715a16680278affa49f0b95b81c347 (commit)
from 720668e90e02bf408d344e8b1d83fb16638c8605 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libdom.git/commit/?id=603ef81d5f715a16680278affa49f0b95b81c347
commit 603ef81d5f715a16680278affa49f0b95b81c347
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
html element: int32 attribute getter: Handle signed values.
diff --git a/src/html/html_element.c b/src/html/html_element.c
index df0fa6a..3062a23 100644
--- a/src/html/html_element.c
+++ b/src/html/html_element.c
@@ -477,7 +477,7 @@ dom_exception
dom_html_element_get_int32_t_property(dom_html_element *ele,
char *s3 = _strndup(dom_string_data(s2),
dom_string_byte_length(s2));
if (s3 != NULL) {
- *value = strtoul(s3, NULL, 0);
+ *value = strtol(s3, NULL, 0);
free(s3);
} else {
err = DOM_NO_MEM_ERR;
-----------------------------------------------------------------------
Summary of changes:
src/html/html_element.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/html/html_element.c b/src/html/html_element.c
index df0fa6a..3062a23 100644
--- a/src/html/html_element.c
+++ b/src/html/html_element.c
@@ -477,7 +477,7 @@ dom_exception
dom_html_element_get_int32_t_property(dom_html_element *ele,
char *s3 = _strndup(dom_string_data(s2),
dom_string_byte_length(s2));
if (s3 != NULL) {
- *value = strtoul(s3, NULL, 0);
+ *value = strtol(s3, NULL, 0);
free(s3);
} else {
err = DOM_NO_MEM_ERR;
--
Document Object Model library
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]