From 751e0a3e4576bbf4bffa56bbd6d4de28f10db98e Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Mon, 19 Oct 2009 11:35:30 -0700 Subject: [PATCH] Fix 64-bit compiler warnings in intel_xvmc_dump_render(). Bug #24396. --- src/xvmc/intel_xvmc_dump.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/xvmc/intel_xvmc_dump.c b/src/xvmc/intel_xvmc_dump.c index 015d4828..974bcbb0 100644 --- a/src/xvmc/intel_xvmc_dump.c +++ b/src/xvmc/intel_xvmc_dump.c @@ -74,8 +74,8 @@ void intel_xvmc_dump_render(XvMCContext * context, 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"); @@ -96,13 +96,13 @@ void intel_xvmc_dump_render(XvMCContext * context, fprintf(fp, "picture type: Bad!\n"); fprintf(fp, "target picture: id (%d) width (%d) height (%d)\n", - target->surface_id, target->width, target->height); + (int)target->surface_id, target->width, target->height); if (past) fprintf(fp, "past picture: id (%d) width (%d) height (%d)\n", - past->surface_id, past->width, past->height); + (int)past->surface_id, past->width, past->height); if (future) fprintf(fp, "future picture: id (%d) width (%d) height (%d)\n", - future->surface_id, future->width, future->height); + (int)future->surface_id, future->width, future->height); fprintf(fp, "num macroblocks: %d, first macroblocks %d\n", num_macroblocks, first_macroblock);