summaryrefslogtreecommitdiff
path: root/tests/index
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-17 20:09:05 +0000
committerGitHub <noreply@github.com>2019-01-17 20:09:05 +0000
commitabe236757933f84fa1485fd56ba99b2e2e8cab65 (patch)
treed42764874eaf32368f01cb0ad11df9746b033e3d /tests/index
parentcecbe7462de4eb5b99742b37622d875c8113c23e (diff)
parentc6bfaf14cff7457f052e4fded0da4996d2d302d2 (diff)
downloadlibgit2-abe236757933f84fa1485fd56ba99b2e2e8cab65.tar.gz
Merge pull request #4925 from lhchavez/fix-a-bunch-of-warnings
Fix a bunch of warnings
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 49e507901..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 == entry->uid);
- cl_assert(st.st_gid == 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())