intel: Avoid pointer arithmetic on void *.

Bug #22000.
This commit is contained in:
Eric Anholt 2009-06-30 22:57:56 -07:00
parent c3499f6c66
commit 5e6b593d35
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ intel_miptree_image_data(struct intel_context *intel,
0, 0, /* source x, y */
dst->level[level].width, height); /* width, height */
src += src_image_pitch * dst->cpp;
src = (char *)src + src_image_pitch * dst->cpp;
}
}