test-date: fix sscanf type conversion
commitd66ee046fc8597af62daeb890b15d5799c786b0d
authorJeff King <peff@peff.net>
Tue, 6 Jul 2010 07:54:33 +0000 (6 03:54 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Jul 2010 15:42:15 +0000 (6 08:42 -0700)
treef8f7260a1fd8555890224170637a2997a95979d3
parentb4cf0f1784362fb4aa2383d8d5d829caa92ca3a0
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>
test-date.c