Fix a lot of warnings, thanks to ejtttje, Fixes issue 537

Fix soft body debug rendering
This commit is contained in:
erwin.coumans
2011-09-15 01:17:34 +00:00
parent 0c01816375
commit a13d22dc84
26 changed files with 80 additions and 74 deletions

View File

@@ -1065,10 +1065,10 @@ void GLUI_TextBox::set_text( const char *new_text )
/*************************************** GLUI_TextBox::dump() **************/
void GLUI_TextBox::dump( FILE *out, char *name )
void GLUI_TextBox::dump( FILE *out, const char *name )
{
fprintf( out,
"%s (edittext@%p): line:%d ins_pt:%d subs:%d/%d sel:%d/%d len:%d\n",
"%s (edittext@%p): line:%d ins_pt:%d subs:%d/%d sel:%d/%d len:%zu\n",
name, this, curr_line,
insertion_pt, substring_start, substring_end, sel_start, sel_end,
text.length());