author | Jeff King <peff@peff.net> | |
Tue, 6 Jul 2010 07:54:33 +0000 (03:54 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 6 Jul 2010 15:42:15 +0000 (08:42 -0700) | ||
commit | d66ee046fc8597af62daeb890b15d5799c786b0d | |
tree | f8f7260a1fd8555890224170637a2997a95979d3 | tree | snapshot |
parent | b4cf0f1784362fb4aa2383d8d5d829caa92ca3a0 | commit | diff |
test-date: fix sscanf type conversion
Reading into a time_t isn't portable, since we don't know
the exact type. Instead, use an unsigned long, which is what
show_date wants, anyway.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Reading into a time_t isn't portable, since we don't know
the exact type. Instead, use an unsigned long, which is what
show_date wants, anyway.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
test-date.c | diff | blob | history |