| Summary: |
"intel_mipmap_tree.c", line 457: warning: pointer to void or function used in arithmetic |
| Product: |
Mesa
|
Reporter: |
Edward O'Callaghan <eocallaghan> |
| Component: |
Drivers/DRI/i915 | Assignee: |
Ian Romanick <idr> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
medium
|
Keywords: |
patch |
| Version: |
unspecified | |
|
| Hardware: |
x86-64 (AMD64) | |
|
| OS: |
Solaris | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
mesa/drivers/dri/intel/intel_mipmap_tree.c "intel_mipmap_tree.c", line 457: warning: pointer to void or function used in arithmetic proposed patch: $ diff -u XW_NV/open-src/lib/mesa/build_32/Mesa-7.4.1/src/mesa/drivers/dri/intel/intel_mipmap_tree.c intel_mipmap_tree.c --- XW_NV/open-src/lib/mesa/build_32/Mesa-7.4.1/src/mesa/drivers/dri/intel/intel_mipmap_tree.c Tue Mar 17 14:48:46 2009 +++ intel_mipmap_tree.c Sat May 30 10:20:16 2009 @@ -454,7 +454,7 @@ 0, 0, /* source x, y */ dst->level[level].width, height); /* width, height */ - src += src_image_pitch * dst->cpp; + src = (void *) src + src_image_pitch * dst->cpp; } } Regards,