mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-01 02:55:59 +01:00
Cast to correct type
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
e597921125
commit
903548b902
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ init_css(zathura_t* zathura)
|
||||||
G_RESOURCE_LOOKUP_FLAGS_NONE, NULL);
|
G_RESOURCE_LOOKUP_FLAGS_NONE, NULL);
|
||||||
if (css_data != NULL) {
|
if (css_data != NULL) {
|
||||||
char* css = g_strdup_printf("%s\n%s", girara_template_get_base(csstemplate),
|
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);
|
girara_template_set_base(csstemplate, css);
|
||||||
g_free(css);
|
g_free(css);
|
||||||
g_bytes_unref(css_data);
|
g_bytes_unref(css_data);
|
||||||
|
|
Loading…
Reference in a new issue