text-field: Cast GString->len to integer before printing
The compiler will warn on 64bit architectures when using %d for printing a gsize field. http://bugzilla.openedhand.com/show_bug.cgi?id=2019
This commit is contained in:
parent
38a2414498
commit
e550755f3d
@ -117,7 +117,10 @@ on_captured_event (ClutterText *text,
|
||||
|
||||
g_string_append (str, buf);
|
||||
|
||||
g_debug ("added '%s' to '%s' (len:%d)", buf, str->str, str->len);
|
||||
g_print ("added '%s' to '%s' (len:%d)",
|
||||
buf,
|
||||
str->str,
|
||||
(int) str->len);
|
||||
|
||||
attrs = pango_attr_list_new ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user