diff --git a/desktop/history_core.c b/desktop/history_core.c index 11db6b7f9..95d28fb3d 100644 --- a/desktop/history_core.c +++ b/desktop/history_core.c @@ -224,7 +224,7 @@ struct history_entry *history_clone_entry(struct history *history, */ void history_add(struct history *history, hlcache_handle *content, - char *frag_id) + const char *frag_id) { struct history_entry *entry; char *url; diff --git a/desktop/history_core.h b/desktop/history_core.h index 5a75e4a95..76f39a7c7 100644 --- a/desktop/history_core.h +++ b/desktop/history_core.h @@ -34,7 +34,7 @@ struct redraw_context; struct history *history_create(void); struct history *history_clone(struct history *history); void history_add(struct history *history, struct hlcache_handle *content, - char *frag_id); + const char *frag_id); void history_update(struct history *history, struct hlcache_handle *content); void history_destroy(struct history *history); void history_back(struct browser_window *bw, struct history *history);