@@ -183,7 +183,7 @@ int test_strspn_s (void)
183
183
errs ++ ;
184
184
}
185
185
std_count = strspn (str1 , str2 );
186
- if (count != std_count ) {
186
+ if (( int ) count != std_count ) {
187
187
debug_printf ("%s %u count=%d std_count=%d rc=%d \n" ,
188
188
__FUNCTION__ , __LINE__ , (int )count , std_count , rc );
189
189
errs ++ ;
@@ -200,7 +200,7 @@ int test_strspn_s (void)
200
200
errs ++ ;
201
201
}
202
202
std_count = strspn (str1 , str2 );
203
- if (count != std_count ) {
203
+ if (( int ) count != std_count ) {
204
204
debug_printf ("%s %u count=%d std_count=%d rc=%d \n" ,
205
205
__FUNCTION__ , __LINE__ , (int )count , std_count , rc );
206
206
errs ++ ;
@@ -218,7 +218,7 @@ int test_strspn_s (void)
218
218
errs ++ ;
219
219
}
220
220
std_count = strspn (str1 , str2 );
221
- if (count != std_count ) {
221
+ if (( int ) count != std_count ) {
222
222
debug_printf ("%s %u count=%d std_count=%d rc=%d \n" ,
223
223
__FUNCTION__ , __LINE__ , (int )count , std_count , rc );
224
224
errs ++ ;
@@ -235,7 +235,7 @@ int test_strspn_s (void)
235
235
errs ++ ;
236
236
}
237
237
std_count = strspn (str1 , str2 );
238
- if (count != std_count ) {
238
+ if (( int ) count != std_count ) {
239
239
debug_printf ("%s %u count=%d std_count=%d rc=%d \n" ,
240
240
__FUNCTION__ , __LINE__ , (int )count , std_count , rc );
241
241
errs ++ ;
@@ -252,7 +252,7 @@ int test_strspn_s (void)
252
252
errs ++ ;
253
253
}
254
254
std_count = strspn (str1 , str2 );
255
- if (count != std_count ) {
255
+ if (( int ) count != std_count ) {
256
256
debug_printf ("%s %u count=%d std_count=%d rc=%d \n" ,
257
257
__FUNCTION__ , __LINE__ , (int )count , std_count , rc );
258
258
errs ++ ;
@@ -269,7 +269,7 @@ int test_strspn_s (void)
269
269
errs ++ ;
270
270
}
271
271
std_count = strspn (str1 , str2 );
272
- if (count != std_count ) {
272
+ if (( int ) count != std_count ) {
273
273
debug_printf ("%s %u count=%d std_count=%d rc=%d \n" ,
274
274
__FUNCTION__ , __LINE__ , (int )count , std_count , rc );
275
275
errs ++ ;
0 commit comments