Commit f44e1e92 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

oops, cast here instead of changing the format string so we're ok on

2003-01-05  Manish Singh  <yosh@gimp.org>

        * app/core/gimpimage-new.c: oops, cast here instead of changing the
        format string so we're ok on 32-bit too.
parent 013e30db
2003-01-05 Manish Singh <yosh@gimp.org>
* app/core/gimpimage-new.c: oops, cast here instead of changing the
format string so we're ok on 32-bit too.
2003-01-05 Manish Singh <yosh@gimp.org>
 
* app/undo_history.c
......
......@@ -111,7 +111,7 @@ gimp_image_new_get_memsize_string (gsize memsize)
{
if (memsize < 4096)
{
return g_strdup_printf (_("%lu Bytes"), memsize);
return g_strdup_printf (_("%d Bytes"), (gint) memsize);
}
else if (memsize < 1024 * 10)
{
......@@ -123,7 +123,7 @@ gimp_image_new_get_memsize_string (gsize memsize)
}
else if (memsize < 1024 * 1024)
{
return g_strdup_printf (_("%lu KB"), memsize / 1024);
return g_strdup_printf (_("%d KB"), (gint) memsize / 1024);
}
else if (memsize < 1024 * 1024 * 10)
{
......
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