timestamp_t: a new data type for timestamps
[gitweb.git] / builtin / am.c
index 2c93adc69c381a58157c60df91de5b019c961f5e..89914ed875709f0263ff7f7a6c25157d1d30fbd2 100644 (file)
@@ -877,7 +877,7 @@ static int hg_patch_to_mail(FILE *out, FILE *in, int keep_cr)
                if (skip_prefix(sb.buf, "# User ", &str))
                        fprintf(out, "From: %s\n", str);
                else if (skip_prefix(sb.buf, "# Date ", &str)) {
-                       unsigned long timestamp;
+                       timestamp_t timestamp;
                        long tz, tz2;
                        char *end;