xf86-video-intel: src/xvmc/intel_xvmc_dump.c

Eric Anholt anholt at kemper.freedesktop.org
Mon Oct 19 11:36:14 PDT 2009


 src/xvmc/intel_xvmc_dump.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 751e0a3e4576bbf4bffa56bbd6d4de28f10db98e
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Mon Oct 19 11:35:30 2009 -0700

    Fix 64-bit compiler warnings in intel_xvmc_dump_render().
    
    Bug #24396.

diff --git a/src/xvmc/intel_xvmc_dump.c b/src/xvmc/intel_xvmc_dump.c
index 015d482..974bcbb 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);


More information about the xorg-commit mailing list