aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-extensions-manager.c
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2005-07-04 05:38:55 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2005-07-04 05:38:55 +0800
commit0e935c597fe2e3e00f672b98f77eaebf48660857 (patch)
tree158d7f1f7afde6398bb207805c77dc864018d6ae /src/ephy-extensions-manager.c
parentb0488b2a6c81ef558613c34fb398a111643b72e3 (diff)
downloadgsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.gz
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.bz2
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.lz
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.xz
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.zst
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.zip
EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).
2005-07-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-cookie-manager.h: EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning). * embed/ephy-favicon-cache.c: * lib/ephy-file-helpers.c: * lib/ephy-langs.c: * lib/ephy-node-db.c: * lib/ephy-node.c: * lib/ephy-state.c: * lib/egg/eggtraymanager.c: * src/ephy-extensions-manager.c: * src/ephy-main.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-window.c: Fixes more signed/unsigned problems with gcc 4.0.
Diffstat (limited to 'src/ephy-extensions-manager.c')
-rw-r--r--src/ephy-extensions-manager.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c
index a140ad34d..6a19e8464 100644
--- a/src/ephy-extensions-manager.c
+++ b/src/ephy-extensions-manager.c
@@ -392,7 +392,7 @@ ephy_extensions_manager_load_string (EphyExtensionsManager *manager,
* put the schema validation on the Doc Tree and then pass that to the
* reader. (maybe switch to RelaxNG?)
*/
- doc = xmlParseDoc (xml);
+ doc = xmlParseDoc ((const xmlChar *)xml);
if (doc == NULL)
{
@@ -561,7 +561,7 @@ ephy_extensions_manager_load_string (EphyExtensionsManager *manager,
else if (state == STATE_URL &&
type == XML_READER_TYPE_TEXT)
{
- einfo->url = xmlTextReaderValue (reader);
+ einfo->url = (char *)xmlTextReaderValue (reader);
}
else if (state == STATE_AUTHOR &&
type == XML_READER_TYPE_END_ELEMENT &&
@@ -648,8 +648,8 @@ ephy_extensions_manager_load_string (EphyExtensionsManager *manager,
xmlFreeDoc (doc);
/* assign localised strings */
- einfo->description = description.string;
- einfo->name = name.string;
+ einfo->description = (char *)description.string;
+ einfo->name = (char *)name.string;
/* sanity check */
if (ret < 0 || state != STATE_STOP ||
@@ -838,7 +838,7 @@ load_extension (EphyExtensionsManager *manager,
if (info->load_failed) return;
/* get a loader */
- loader = get_loader_for_type (manager, info->loader_type);
+ loader = get_loader_for_type (manager, (const char *)info->loader_type);
if (loader == NULL)
{
g_message ("No loader found for extension '%s' of type '%s'\n",