diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2009-10-19 11:35:30 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-19 11:35:30 -0700 |
commit | 751e0a3e4576bbf4bffa56bbd6d4de28f10db98e (patch) | |
tree | 030e5703ba3acdaa9c9e08d02f745c31affcece4 | |
parent | 3e8f2eae3a586aa29be4858698e666e0ec778cea (diff) |
Fix 64-bit compiler warnings in intel_xvmc_dump_render().
Bug #24396.
-rw-r--r-- | src/xvmc/intel_xvmc_dump.c | 10 |
1 files 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); |