@@ -118,13 +118,13 @@ void test_network_remote_remotes__add_fetchspec(void)
118118 cl_git_pass (git_remote_add_fetch (_remote , "refs/*:refs/*" ));
119119
120120 size ++ ;
121- cl_assert_equal_i (size , git_remote_refspec_count (_remote ));
121+ cl_assert_equal_i (( int ) size , ( int ) git_remote_refspec_count (_remote ));
122122
123123 _refspec = git_remote_get_refspec (_remote , size - 1 );
124124 cl_assert_equal_s (git_refspec_src (_refspec ), "refs/*" );
125125 cl_assert_equal_s (git_refspec_dst (_refspec ), "refs/*" );
126126 cl_assert_equal_s (git_refspec_string (_refspec ), "refs/*:refs/*" );
127- cl_assert_equal_i (_refspec -> push , false);
127+ cl_assert_equal_b (_refspec -> push , false);
128128}
129129
130130void test_network_remote_remotes__add_pushspec (void )
@@ -135,14 +135,14 @@ void test_network_remote_remotes__add_pushspec(void)
135135
136136 cl_git_pass (git_remote_add_push (_remote , "refs/*:refs/*" ));
137137 size ++ ;
138- cl_assert_equal_i (size , git_remote_refspec_count (_remote ));
138+ cl_assert_equal_i (( int ) size , ( int ) git_remote_refspec_count (_remote ));
139139
140140 _refspec = git_remote_get_refspec (_remote , size - 1 );
141141 cl_assert_equal_s (git_refspec_src (_refspec ), "refs/*" );
142142 cl_assert_equal_s (git_refspec_dst (_refspec ), "refs/*" );
143143 cl_assert_equal_s (git_refspec_string (_refspec ), "refs/*:refs/*" );
144144
145- cl_assert_equal_i (_refspec -> push , true);
145+ cl_assert_equal_b (_refspec -> push , true);
146146}
147147
148148void test_network_remote_remotes__save (void )
@@ -169,12 +169,12 @@ void test_network_remote_remotes__save(void)
169169 cl_git_pass (git_remote_load (& _remote , _repo , "upstream" ));
170170
171171 cl_git_pass (git_remote_get_fetch_refspecs (& array , _remote ));
172- cl_assert_equal_i (1 , array .count );
172+ cl_assert_equal_i (1 , ( int ) array .count );
173173 cl_assert_equal_s (fetch_refspec , array .strings [0 ]);
174174 git_strarray_free (& array );
175175
176176 cl_git_pass (git_remote_get_push_refspecs (& array , _remote ));
177- cl_assert_equal_i (1 , array .count );
177+ cl_assert_equal_i (1 , ( int ) array .count );
178178 cl_assert_equal_s (push_refspec , array .strings [0 ]);
179179 cl_assert_equal_s (git_remote_url (_remote ), "git://github.com/libgit2/libgit2" );
180180 cl_assert_equal_s (git_remote_pushurl (_remote ), "git://github.com/libgit2/libgit2_push" );
0 commit comments