Fix build on x86_64
A pointer does not equal to an int on x86_64
(which results into pointer - pointer not being an int either),
fix that by casting the resulting value to an int.
Breakage was introduced by commit 909b5ec43c
This commit is contained in:
parent
68b943d8ea
commit
468f30e4ab
@ -1514,7 +1514,7 @@ remove_class_name (gchar **class_list,
|
|||||||
else
|
else
|
||||||
end++;
|
end++;
|
||||||
|
|
||||||
new_class_list = g_strdup_printf ("%.*s%s", match - *class_list,
|
new_class_list = g_strdup_printf ("%.*s%s", (int)(match - *class_list),
|
||||||
*class_list, end);
|
*class_list, end);
|
||||||
g_free (*class_list);
|
g_free (*class_list);
|
||||||
*class_list = new_class_list;
|
*class_list = new_class_list;
|
||||||
|
Loading…
Reference in New Issue
Block a user