diff options
author | Pauli Nieminen <pauli.nieminen@linux.intel.com> | 2012-06-08 23:57:32 +0300 |
---|---|---|
committer | Pauli Nieminen <pauli.nieminen@linux.intel.com> | 2012-06-10 00:26:26 +0300 |
commit | 52d0d581e88713fa6d1c005382700c18a91972cb (patch) | |
tree | 969d7963381fb533675bbbb7991db0545e58bdc4 | |
parent | af0e1bcae3b9e9323da45f837d34e076222825a6 (diff) |
radeon: Fix printf format not to warn in 64bit
When I build tested radeon changes I noticed two warnings about format
size missmatch in 64bit. I decided to clean them to make relevant
compiler warnings easier to spot.
Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
CC: xorg-driver-ati@lists.x.org
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_blit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_blit.c b/src/mesa/drivers/dri/radeon/radeon_blit.c index 4233221165..80b53460de 100644 --- a/src/mesa/drivers/dri/radeon/radeon_blit.c +++ b/src/mesa/drivers/dri/radeon/radeon_blit.c @@ -390,13 +390,13 @@ unsigned r100_blit(struct gl_context *ctx, } if (0) { - fprintf(stderr, "src: size [%d x %d], pitch %d, offset %d " + fprintf(stderr, "src: size [%d x %d], pitch %d, offset %zd " "offset [%d x %d], format %s, bo %p\n", src_width, src_height, src_pitch, src_offset, src_x_offset, src_y_offset, _mesa_get_format_name(src_mesaformat), src_bo); - fprintf(stderr, "dst: pitch %d offset %d, offset[%d x %d], format %s, bo %p\n", + fprintf(stderr, "dst: pitch %d offset %zd, offset[%d x %d], format %s, bo %p\n", dst_pitch, dst_offset, dst_x_offset, dst_y_offset, _mesa_get_format_name(dst_mesaformat), dst_bo); fprintf(stderr, "region: %d x %d\n", reg_width, reg_height); |