diff options
author | Akira TAGOH <akira@tagoh.org> | 2006-08-14 10:46:27 +0000 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2006-08-14 10:46:27 +0000 |
commit | 829425908b43dc1fc1f3d215c2dd8e28bfe17332 (patch) | |
tree | f55076bd476f318a9152133b5ae985d7bcc760ec /src | |
parent | 80fad06dcb12e372979cb5a8d0ba922e1094809c (diff) |
* src/hgspy.c (_hgspy_update_vm_status): use macro.
Diffstat (limited to 'src')
-rw-r--r-- | src/hgspy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hgspy.c b/src/hgspy.c index 6ef3a98..88378cc 100644 --- a/src/hgspy.c +++ b/src/hgspy.c @@ -635,14 +635,14 @@ _hgspy_update_vm_status(HgMemoryVisualizer *visual, if (name) { total = hg_memory_visualizer_get_max_size(visual, name); - p = g_strdup_printf("%d", total); + p = g_strdup_printf("%" G_GSIZE_FORMAT, total); gtk_entry_set_text(GTK_ENTRY (spy->total_vm_size), p); g_free(p); used = hg_memory_visualizer_get_used_size(visual, name); - p = g_strdup_printf("%d", used); + p = g_strdup_printf("%" G_GSIZE_FORMAT, used); gtk_entry_set_text(GTK_ENTRY (spy->used_vm_size), p); g_free(p); - p = g_strdup_printf("%d", total - used); + p = g_strdup_printf("%" G_GSIZE_FORMAT, total - used); gtk_entry_set_text(GTK_ENTRY (spy->free_vm_size), p); g_free(p); } else { |