Cast to correct type

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Sebastian Ramacher 2017-06-20 21:31:31 +02:00
parent e597921125
commit 903548b902

View file

@ -257,7 +257,7 @@ init_css(zathura_t* zathura)
G_RESOURCE_LOOKUP_FLAGS_NONE, NULL);
if (css_data != NULL) {
char* css = g_strdup_printf("%s\n%s", girara_template_get_base(csstemplate),
g_bytes_get_data(css_data, NULL));
(const char*) g_bytes_get_data(css_data, NULL));
girara_template_set_base(csstemplate, css);
g_free(css);
g_bytes_unref(css_data);