diff options
author | Tomas Carnecky <tom@dbservice.com> | 2009-02-26 07:31:35 +0100 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2009-02-26 09:20:09 -0800 |
commit | 5add2c88bdcf0f892b65d6074986672fe4c1bdfe (patch) | |
tree | 08d9d68df1e8c85e2ede86b2ada9cc55d488f3fc /src/xvmc/context.c | |
parent | 68915fd6fac44dd000080298e3afb0669e8754aa (diff) |
Fix "cast to pointer from integer of different size"
The script generates code like:
pixels = (const GLvoid *) (ptr_is_null != 0) ? NULL : (pc + 80);
which causes the above mentioned warning. Add parenthesis around the
whole expression to fix it.
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Diffstat (limited to 'src/xvmc/context.c')
0 files changed, 0 insertions, 0 deletions