mirror of https://github.com/GNOME/gimp.git
cast memsize to a guint instead of format change. Problem perhaps if
2003-01-05 Manish Singh <yosh@gimp.org> * app/core/gimpobject.c: cast memsize to a guint instead of format change. Problem perhaps if get_size really is > 4 GB?
This commit is contained in:
parent
1a44f2126c
commit
82c16db50d
|
@ -1,3 +1,8 @@
|
|||
2003-01-05 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* app/core/gimpobject.c: cast memsize to a guint instead of format
|
||||
change. Problem perhaps if get_size really is > 4 GB?
|
||||
|
||||
2003-01-05 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* many files in app, modules and libgimp*: cleanup, removed unecessary
|
||||
|
|
|
@ -290,11 +290,12 @@ gimp_object_get_memsize (GimpObject *object)
|
|||
|
||||
indent_buf[i] = '\0';
|
||||
|
||||
object_size = g_strdup_printf ("%s%s \"%s\": %lu\n",
|
||||
/* FIXME: are we going to ever have > 4 GB objects?? */
|
||||
object_size = g_strdup_printf ("%s%s \"%s\": %u\n",
|
||||
indent_buf,
|
||||
g_type_name (G_TYPE_FROM_INSTANCE (object)),
|
||||
object->name,
|
||||
memsize);
|
||||
(guint) memsize);
|
||||
|
||||
aggregation_tree = g_list_prepend (aggregation_tree, object_size);
|
||||
|
||||
|
|
|
@ -295,11 +295,12 @@ gimp_object_get_memsize (GimpObject *object)
|
|||
|
||||
indent_buf[i] = '\0';
|
||||
|
||||
object_size = g_strdup_printf ("%s%s \"%s\": %lu\n",
|
||||
/* FIXME: are we going to ever have > 4 GB objects?? */
|
||||
object_size = g_strdup_printf ("%s%s \"%s\": %u\n",
|
||||
indent_buf,
|
||||
g_type_name (G_TYPE_FROM_INSTANCE (object)),
|
||||
object->name,
|
||||
memsize);
|
||||
(guint) memsize);
|
||||
|
||||
aggregation_tree = g_list_prepend (aggregation_tree, object_size);
|
||||
|
||||
|
|
Loading…
Reference in New Issue