Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / uip / sortm.c
index 59247c2..6ba8a9c 100644 (file)
@@ -44,7 +44,7 @@ static struct smsg *smsgs;
 int nmsgs;
 
 char *subjsort = NULL;  /* sort on subject if != 0 */
-unsigned long datelimit = 0;
+time_t datelimit = 0;
 int submajor = 0;  /* if true, sort on subject-major */
 int verbose;
 
@@ -165,7 +165,7 @@ main(int argc, char **argv)
        }
 
        if (!msgs.size)
-               app_msgarg(&msgs, "all");
+               app_msgarg(&msgs, seq_all);
        if (!datesw)
                datesw = "date";
        if (!folder)