summaryrefslogtreecommitdiff
path: root/tests/t0601-read.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-12-06 23:13:00 +0200
committerVicent Marti <tanoku@gmail.com>2010-12-06 23:36:21 +0200
commita44fc1d413bc1e2f0ed82aff60ce2069c33d2eda (patch)
tree115f8e574fe27959e5311819b8d72d4ea41cd941 /tests/t0601-read.c
parentf591833095ad9a3bbff42c76531131f7ec6a2954 (diff)
downloadlibgit2-a44fc1d413bc1e2f0ed82aff60ce2069c33d2eda.tar.gz
Fix type-conversion warnings
The types in the git_index_entry struct are now system-defaults, and get truncated to uint32_t's when written back on the index. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'tests/t0601-read.c')
-rw-r--r--tests/t0601-read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t0601-read.c b/tests/t0601-read.c
index 0aaa6e39f..4373fbc96 100644
--- a/tests/t0601-read.c
+++ b/tests/t0601-read.c
@@ -15,7 +15,7 @@ struct test_entry {
unsigned int index;
char path[128];
size_t file_size;
- uint32_t mtime;
+ time_t mtime;
};
struct test_entry TEST_ENTRIES[] = {