comparison xrogue/state.c @ 307:32bc72dcbf4f

Fix some warnings related to format strings.
author John "Elwin" Edwards
date Fri, 30 Apr 2021 20:48:30 -0400
parents e52a8a7ad4c5
children 827441d05b3e
comparison
equal deleted inserted replaced
306:057c5114e244 307:32bc72dcbf4f
3100 fprintf(outf,"%st_oldpos : %d %d\n", prefix, thing->t_oldpos.x, thing->t_oldpos.y); 3100 fprintf(outf,"%st_oldpos : %d %d\n", prefix, thing->t_oldpos.x, thing->t_oldpos.y);
3101 fprintf(outf,"%st_newpos : %d %d\n", prefix, thing->t_newpos.x, thing->t_newpos.y); 3101 fprintf(outf,"%st_newpos : %d %d\n", prefix, thing->t_newpos.x, thing->t_newpos.y);
3102 fprintf(outf,"%st_flags : ", prefix); 3102 fprintf(outf,"%st_flags : ", prefix);
3103 3103
3104 for(i = 0; i<16; i++) 3104 for(i = 0; i<16; i++)
3105 fprintf(outf,"%X ",thing->t_flags[i]); 3105 fprintf(outf,"%lX ",thing->t_flags[i]);
3106 fprintf(outf,"\n"); 3106 fprintf(outf,"\n");
3107 3107
3108 fprintf(outf,"%st_pack : %p\n",prefix,thing->t_pack); 3108 fprintf(outf,"%st_pack : %p\n",prefix,thing->t_pack);
3109 fprintf(outf,"%st_using : %p\n",prefix,thing->t_using); 3109 fprintf(outf,"%st_using : %p\n",prefix,thing->t_using);
3110 fprintf(outf,"%st_stats : Not Implemented\n",prefix); 3110 fprintf(outf,"%st_stats : Not Implemented\n",prefix);