]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/rev-list.c
PRItime: introduce a new "printf format" for timestamps
[thirdparty/git.git] / builtin / rev-list.c
index bcf77f0b8a201278f0887933e568937473eb7251..3b292c99bda97d78967e7c8e9575cb6f2e1e66ee 100644 (file)
@@ -80,7 +80,7 @@ static void show_commit(struct commit *commit, void *data)
        }
 
        if (info->show_timestamp)
-               printf("%lu ", commit->date);
+               printf("%"PRItime" ", commit->date);
        if (info->header_prefix)
                fputs(info->header_prefix, stdout);