@@ -195,7 +195,7 @@ static int expr_constant(struct compiler *, expr_ty);
195195static int compiler_with (struct compiler * , stmt_ty , int );
196196static int compiler_async_with (struct compiler * , stmt_ty , int );
197197static int compiler_async_for (struct compiler * , stmt_ty );
198- static int compiler_call_helper (struct compiler * c , Py_ssize_t n ,
198+ static int compiler_call_helper (struct compiler * c , int n ,
199199 asdl_seq * args ,
200200 asdl_seq * keywords );
201201static int compiler_try_except (struct compiler * , stmt_ty );
@@ -476,9 +476,9 @@ compiler_unit_check(struct compiler_unit *u)
476476{
477477 basicblock * block ;
478478 for (block = u -> u_blocks ; block != NULL ; block = block -> b_list ) {
479- assert ((void * )block != ( void * ) 0xcbcbcbcb );
480- assert ((void * )block != ( void * ) 0xfbfbfbfb );
481- assert ((void * )block != ( void * ) 0xdbdbdbdb );
479+ assert ((Py_uintptr_t )block != 0xcbcbcbcbU );
480+ assert ((Py_uintptr_t )block != 0xfbfbfbfbU );
481+ assert ((Py_uintptr_t )block != 0xdbdbdbdbU );
482482 if (block -> b_instr != NULL ) {
483483 assert (block -> b_ialloc > 0 );
484484 assert (block -> b_iused > 0 );
@@ -3097,7 +3097,8 @@ compiler_set(struct compiler *c, expr_ty e)
30973097static int
30983098compiler_dict (struct compiler * c , expr_ty e )
30993099{
3100- Py_ssize_t i , n , containers , elements ;
3100+ Py_ssize_t i , n , elements ;
3101+ int containers ;
31013102 int is_unpacking = 0 ;
31023103 n = asdl_seq_LEN (e -> v .Dict .values );
31033104 containers = 0 ;
@@ -3267,12 +3268,13 @@ compiler_formatted_value(struct compiler *c, expr_ty e)
32673268/* shared code between compiler_call and compiler_class */
32683269static int
32693270compiler_call_helper (struct compiler * c ,
3270- Py_ssize_t n , /* Args already pushed */
3271+ int n , /* Args already pushed */
32713272 asdl_seq * args ,
32723273 asdl_seq * keywords )
32733274{
32743275 int code = 0 ;
3275- Py_ssize_t nelts , i , nseen , nkw ;
3276+ Py_ssize_t nelts , i , nseen ;
3277+ int nkw ;
32763278
32773279 /* the number of tuples and dictionaries on the stack */
32783280 Py_ssize_t nsubargs = 0 , nsubkwargs = 0 ;
0 commit comments