aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-size.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
commit8771a6de3590d468d1a2c3cfab34955c624f614a (patch)
treedc23ed6ab0533bc9f241976f33b6c6cc2d7ee117 /widgets/table/e-cell-size.c
parent69a1e923a71ee881721e21b991de08b897f9e7b0 (diff)
downloadgsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.gz
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.zst
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.zip
More code cleanup.
Diffstat (limited to 'widgets/table/e-cell-size.c')
-rw-r--r--widgets/table/e-cell-size.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-cell-size.c b/widgets/table/e-cell-size.c
index 1fa949ec6a..e2b379f2f9 100644
--- a/widgets/table/e-cell-size.c
+++ b/widgets/table/e-cell-size.c
@@ -42,7 +42,7 @@ ecd_get_text(ECellText *cell, ETableModel *model, gint col, gint row)
} else {
fsize = ((gfloat) size) / 1024.0;
if (fsize < 1024.0) {
- return g_strdup_printf ("%d K", (int)fsize);
+ return g_strdup_printf ("%d K", (gint)fsize);
} else {
fsize /= 1024.0;
return g_strdup_printf ("%.1f MB", fsize);