Commit 82c16db5 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

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?
parent 1a44f212
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment