diff options
| author | Owen Taylor <otaylor@redhat.com> | 2002-02-13 16:40:31 +0000 |
|---|---|---|
| committer | Owen Taylor <otaylor@src.gnome.org> | 2002-02-13 16:40:31 +0000 |
| commit | 294e8eb7bbb62620afb2d5a76408f4671018deb0 (patch) | |
| tree | d26f9508c4f36a36eaa1e10d96f10a5f39dcebb7 /tests/testtreeview.c | |
| parent | f42cc7f7fb6a9a8d099df765224506fde51c44c2 (diff) | |
| download | gtk+-294e8eb7bbb62620afb2d5a76408f4671018deb0.tar.gz | |
Cast GType to long and use %ld to fix warning. (#71318, Morten Welinder)
Wed Feb 13 11:27:31 2002 Owen Taylor <otaylor@redhat.com>
* tests/testtreeview.c (typesystem_recurse): Cast GType
to long and use %ld to fix warning. (#71318, Morten Welinder)
Diffstat (limited to 'tests/testtreeview.c')
| -rw-r--r-- | tests/testtreeview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtreeview.c b/tests/testtreeview.c index 10b5377e48..a2e5f149c9 100644 --- a/tests/testtreeview.c +++ b/tests/testtreeview.c @@ -511,7 +511,7 @@ typesystem_recurse (GType type, gtk_tree_store_append (store, &iter, parent_iter); - str = g_strdup_printf ("%d", type); + str = g_strdup_printf ("%ld", (glong)type); gtk_tree_store_set (store, &iter, 0, str, 1, g_type_name (type), 2, our_pixbuf, 3, 7.0, 4, (guint) 9000, |
