Gitweb links:

...log 
http://git.netsurf-browser.org/libdom.git/shortlog/7f97358eab83a5444eb32fdfbd4bbf600c55dd5c
...commit 
http://git.netsurf-browser.org/libdom.git/commit/7f97358eab83a5444eb32fdfbd4bbf600c55dd5c
...tree 
http://git.netsurf-browser.org/libdom.git/tree/7f97358eab83a5444eb32fdfbd4bbf600c55dd5c

The branch, master has been updated
       via  7f97358eab83a5444eb32fdfbd4bbf600c55dd5c (commit)
      from  f509cfc624ffcf093348c2e06887e2c16351858c (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=7f97358eab83a5444eb32fdfbd4bbf600c55dd5c
commit 7f97358eab83a5444eb32fdfbd4bbf600c55dd5c
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    (tokenlist): Try harder to avoid type punning
    
    Signed-off-by: Daniel Silverstone <[email protected]>

diff --git a/src/core/tokenlist.c b/src/core/tokenlist.c
index 4e9f466..cc93a8c 100644
--- a/src/core/tokenlist.c
+++ b/src/core/tokenlist.c
@@ -48,12 +48,12 @@ static void _dom_tokenlist_handle_attrmodified(dom_event 
*evt, void *pw)
        dom_string *value;
 
        {
-               dom_node *target;
+               dom_event_target *target;
                exc = dom_event_get_target(evt, &target);
                if (exc != DOM_NO_ERR)
                        return;
                dom_node_unref(target);
-               if (target != (dom_node *)list->ele)
+               if (target != (dom_event_target *)list->ele)
                        return;
        }
 


-----------------------------------------------------------------------

Summary of changes:
 src/core/tokenlist.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/tokenlist.c b/src/core/tokenlist.c
index 4e9f466..cc93a8c 100644
--- a/src/core/tokenlist.c
+++ b/src/core/tokenlist.c
@@ -48,12 +48,12 @@ static void _dom_tokenlist_handle_attrmodified(dom_event 
*evt, void *pw)
        dom_string *value;
 
        {
-               dom_node *target;
+               dom_event_target *target;
                exc = dom_event_get_target(evt, &target);
                if (exc != DOM_NO_ERR)
                        return;
                dom_node_unref(target);
-               if (target != (dom_node *)list->ele)
+               if (target != (dom_event_target *)list->ele)
                        return;
        }
 


-- 
Document Object Model library
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to