diff options
Diffstat (limited to 'libcaja-private/caja-file.c')
-rw-r--r-- | libcaja-private/caja-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-file.c b/libcaja-private/caja-file.c index a5ed4ff9..27856bf7 100644 --- a/libcaja-private/caja-file.c +++ b/libcaja-private/caja-file.c @@ -6254,9 +6254,9 @@ caja_file_get_size_as_string (CajaFile *file, } if (g_settings_get_boolean (caja_preferences, CAJA_PREFERENCES_USE_IEC_UNITS)) - return g_format_size_full (size, G_FORMAT_SIZE_IEC_UNITS); + return g_format_size_full ((guint64) size, G_FORMAT_SIZE_IEC_UNITS); else - return g_format_size (size); + return g_format_size ((guint64) size); } /** |