aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-application.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-application.c')
-rw-r--r--src/ephy-application.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-application.c b/src/ephy-application.c
index ecf4d44ca..8ae9f7f77 100644
--- a/src/ephy-application.c
+++ b/src/ephy-application.c
@@ -121,7 +121,7 @@ queue_commands (EphyApplication *application)
else if (ctx->session_filename != NULL) {
ephy_session_queue_command (session,
EPHY_SESSION_CMD_LOAD_SESSION,
- ctx->session_filename, NULL,
+ (const char *)ctx->session_filename, NULL,
ctx->user_time, FALSE);
} else if (ctx->arguments != NULL) {
/* Don't queue any window openings if no extra arguments given, */
@@ -139,8 +139,8 @@ queue_commands (EphyApplication *application)
ephy_session_queue_command (session,
EPHY_SESSION_CMD_OPEN_URIS,
- options->str,
- ctx->arguments,
+ (const char*)options->str,
+ (const char **)ctx->arguments,
ctx->user_time, FALSE);
}
}