[libcroco] Derive pointer to have appropriate type
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libcroco] Derive pointer to have appropriate type
- Date: Sun, 1 Nov 2015 10:18:18 +0000 (UTC)
commit 3f94a4f5902e5e342ed77de6739934d49e97f937
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Tue Aug 5 08:20:57 2014 +0000
Derive pointer to have appropriate type
https://bugzilla.gnome.org/show_bug.cgi?id=710076
src/cr-enc-handler.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/cr-enc-handler.c b/src/cr-enc-handler.c
index 646bf1f..80d993d 100644
--- a/src/cr-enc-handler.c
+++ b/src/cr-enc-handler.c
@@ -89,8 +89,7 @@ cr_enc_handler_get_instance (enum CREncoding a_enc)
for (i = 0; gv_default_enc_handlers[i].encoding; i++) {
if (gv_default_enc_handlers[i].encoding == a_enc) {
- return (CREncHandler *)
- & gv_default_enc_handlers[i].encoding;
+ return (CREncHandler *) & gv_default_enc_handlers[i];
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]