diff options
author | Dom Lachowicz <doml@src.gnome.org> | 2006-05-02 23:37:02 +0000 |
---|---|---|
committer | Dom Lachowicz <doml@src.gnome.org> | 2006-05-02 23:37:02 +0000 |
commit | 1287e6a6263c955f464ba6d1d5ad699a70f51104 (patch) | |
tree | 9aadbd6eaff7e81143efd503ce817e9f1c2fcb08 /csslint | |
parent | 37d7f5c7ee7d3ee90b032c075610e8c4c8a9ddee (diff) | |
download | libcroco-1287e6a6263c955f464ba6d1d5ad699a70f51104.tar.gz |
Fix 3 "dereferencing type-punned pointer will break strict-aliasing rules"
* csslint/csslint.c: Fix 3 "dereferencing type-punned pointer will break strict-aliasing rules" warnings
Diffstat (limited to 'csslint')
-rw-r--r-- | csslint/csslint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/csslint/csslint.c b/csslint/csslint.c index ac5f029..90bc30d 100644 --- a/csslint/csslint.c +++ b/csslint/csslint.c @@ -431,7 +431,7 @@ end_document (CRDocHandler * a_this) g_return_if_fail (a_this); - cr_doc_handler_get_ctxt (a_this, (gpointer *) & context); + cr_doc_handler_get_ctxt (a_this, (gpointer *) (gpointer) & context); if (context) { g_free (context); context = NULL; @@ -795,7 +795,7 @@ start_selector (CRDocHandler * a_this, CRSelector * a_selector_list) g_return_if_fail (a_this); - cr_doc_handler_get_ctxt (a_this, (gpointer *) & context); + cr_doc_handler_get_ctxt (a_this, (gpointer *) (gpointer) & context); if (context) { context->level++; } @@ -826,7 +826,7 @@ end_selector (CRDocHandler * a_this, g_return_if_fail (a_this); - cr_doc_handler_get_ctxt (a_this, (gpointer *) & context); + cr_doc_handler_get_ctxt (a_this, (gpointer *) (gpointer) & context); if (context) { context->level--; } |