Update of /cvsroot/pure-data/externals/unauthorized/scrolllist In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24901
Modified Files: scrolllist.c Log Message: fixed compilation warnings
Index: scrolllist.c =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/scrolllist/scrolllist.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** scrolllist.c 19 Nov 2005 03:44:29 -0000 1.1 --- scrolllist.c 19 Nov 2005 15:57:52 -0000 1.2 *************** *** 436,440 ****
sprintf(buf, "pdtk_scrolllist_dialog %%s %d %d %d %s %s %s %s\n", ! x->x_capacity, x->x_width, x->x_height, x->x_font, x->x_bgcolor, x->x_fgcolor, x->x_secolor ); --- 436,440 ----
sprintf(buf, "pdtk_scrolllist_dialog %%s %d %d %d %s %s %s %s\n", ! (int)x->x_capacity, (int)x->x_width, (int)x->x_height, x->x_font, x->x_bgcolor, x->x_fgcolor, x->x_secolor ); *************** *** 503,507 **** x->x_height = (int)argv[2].a_w.w_float; sprintf( x->x_font, "{%s %d %s}", argv[3].a_w.w_symbol->s_name, ! (t_int)argv[4].a_w.w_float, argv[5].a_w.w_symbol->s_name ); x->x_charheight = (t_int)argv[4].a_w.w_float; strcpy( x->x_bgcolor, argv[6].a_w.w_symbol->s_name ); --- 503,507 ---- x->x_height = (int)argv[2].a_w.w_float; sprintf( x->x_font, "{%s %d %s}", argv[3].a_w.w_symbol->s_name, ! (int)argv[4].a_w.w_float, argv[5].a_w.w_symbol->s_name ); x->x_charheight = (t_int)argv[4].a_w.w_float; strcpy( x->x_bgcolor, argv[6].a_w.w_symbol->s_name ); *************** *** 598,602 **** return; } ! sprintf( x->x_font, "{%s %d %s}", fname->s_name, (t_int)fsize, fcase->s_name ); x->x_charheight = (t_int)fsize; x->x_charwidth = (2*x->x_charheight)/3; --- 598,602 ---- return; } ! sprintf( x->x_font, "{%s %d %s}", fname->s_name, (int)fsize, fcase->s_name ); x->x_charheight = (t_int)fsize; x->x_charwidth = (2*x->x_charheight)/3; *************** *** 868,872 **** x->x_charheight = (t_int)argv[4].a_w.w_float; sprintf( x->x_font, "%s %d %s", argv[3].a_w.w_symbol->s_name, ! x->x_charheight, argv[5].a_w.w_symbol->s_name ); argoffset=0; } --- 868,872 ---- x->x_charheight = (t_int)argv[4].a_w.w_float; sprintf( x->x_font, "%s %d %s", argv[3].a_w.w_symbol->s_name, ! (int)x->x_charheight, argv[5].a_w.w_symbol->s_name ); argoffset=0; }