summaryrefslogtreecommitdiff
path: root/csslint
diff options
context:
space:
mode:
authorDom Lachowicz <doml@src.gnome.org>2006-05-02 23:37:02 +0000
committerDom Lachowicz <doml@src.gnome.org>2006-05-02 23:37:02 +0000
commit1287e6a6263c955f464ba6d1d5ad699a70f51104 (patch)
tree9aadbd6eaff7e81143efd503ce817e9f1c2fcb08 /csslint
parent37d7f5c7ee7d3ee90b032c075610e8c4c8a9ddee (diff)
downloadlibcroco-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.c6
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--;
}