diff --git a/src/xvmc/intel_xvmc_dump.c b/src/xvmc/intel_xvmc_dump.c index 419bd0d..36ea098 100644 --- a/src/xvmc/intel_xvmc_dump.c +++ b/src/xvmc/intel_xvmc_dump.c @@ -69,7 +69,7 @@ void intel_xvmc_dump_render(XvMCContext *context, unsigned int picture_structure fprintf(fp, "========== new surface rendering ==========\n"); fprintf(fp, "Context (id:%d) (surface_type_id:%d) (width:%d) (height:%d)\n", - context->context_id, context->surface_type_id, context->width, context->height); + (int)context->context_id, context->surface_type_id, context->width, context->height); if (picture_structure == XVMC_FRAME_PICTURE) fprintf(fp, "picture structure: frame picture\n"); @@ -89,13 +89,13 @@ void intel_xvmc_dump_render(XvMCContext *context, unsigned int picture_structure else fprintf(fp, "picture type: Bad!\n"); - fprintf(fp, "target picture: id (%d) width (%d) height (%d)\n", target->surface_id, + fprintf(fp, "target picture: id (%d) width (%d) height (%d)\n", (int)target->surface_id, target->width, target->height); if (past) - fprintf(fp, "past picture: id (%d) width (%d) height (%d)\n", past->surface_id, + fprintf(fp, "past picture: id (%d) width (%d) height (%d)\n", (int)past->surface_id, past->width, past->height); if (future) - fprintf(fp, "future picture: id (%d) width (%d) height (%d)\n", future->surface_id, + fprintf(fp, "future picture: id (%d) width (%d) height (%d)\n", (int)future->surface_id, future->width, future->height); fprintf(fp, "num macroblocks: %d, first macroblocks %d\n", num_macroblocks, first_macroblock);