Index: gnome-commander-1.2.8.2/src/gnome-cmd-file-list.cc
===================================================================
--- gnome-commander-1.2.8.2.orig/src/gnome-cmd-file-list.cc	2009-10-30 15:25:31.000000000 +0100
+++ gnome-commander-1.2.8.2/src/gnome-cmd-file-list.cc	2009-10-30 15:26:29.000000000 +0100
@@ -775,6 +775,18 @@
 }
 
 
+inline gint my_filesizecmp (GnomeVFSFileSize i1, GnomeVFSFileSize i2, gboolean raising)
+{
+    if (i1 > i2)
+        return raising ? -1 : 1;
+
+    if (i2 > i1)
+        return raising ? 1 : -1;
+
+    return 0;
+}
+
+
 static gint sort_by_name (GnomeCmdFile *f1, GnomeCmdFile *f2, GnomeCmdFileList *fl)
 {
     if (strcmp (f1->info->name, "..") == 0)
@@ -873,7 +885,7 @@
 
     if (!ret)
     {
-        ret = my_intcmp (f1->info->size, f2->info->size, raising);
+        ret = my_filesizecmp (f1->info->size, f2->info->size, raising);
         if (!ret)
             ret = my_strcmp (gnome_cmd_file_get_collation_fname (f1), gnome_cmd_file_get_collation_fname (f2), file_raising);
     }
