summaryrefslogtreecommitdiff
path: root/tests/index
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2019-01-06 08:36:06 -0800
committerlhchavez <lhchavez@lhchavez.com>2019-01-06 08:45:13 -0800
commit321d19c1058fc10cb9deabccf99557ec5642a2e3 (patch)
treefd751a5672fe29e9f18043a15bd1734142040a61 /tests/index
parentb5e8272fdcab4e7f238a72d0b9c9fc9c753fd381 (diff)
downloadlibgit2-321d19c1058fc10cb9deabccf99557ec5642a2e3.tar.gz
Windows is hard.
Diffstat (limited to 'tests/index')
-rw-r--r--tests/index/addall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/index/addall.c b/tests/index/addall.c
index 12b05a741..992cd8737 100644
--- a/tests/index/addall.c
+++ b/tests/index/addall.c
@@ -123,8 +123,8 @@ static void check_stat_data(git_index *index, const char *path, bool match)
cl_assert(st.st_ctime == entry->ctime.seconds);
cl_assert(st.st_mtime == entry->mtime.seconds);
cl_assert(st.st_size == entry->file_size);
- cl_assert(st.st_uid == (uid_t)entry->uid);
- cl_assert(st.st_gid == (gid_t)entry->gid);
+ cl_assert((uint32_t)st.st_uid == entry->uid);
+ cl_assert((uint32_t)st.st_gid == entry->gid);
cl_assert_equal_i_fmt(
GIT_MODE_TYPE(st.st_mode), GIT_MODE_TYPE(entry->mode), "%07o");
if (cl_is_chmod_supported())