diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-01-04 14:28:43 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-01-09 21:51:49 -0800 |
commit | 644aaa87a0e161f8a37267f13d4a18f6dfcd9a4f (patch) | |
tree | a288ae6fa192c19ddb745be2aed4e9d22bfe84d7 /meta/recipes-devtools/qemu | |
parent | fff18970706913e7fd7f4a119d798dddb44b388a (diff) | |
download | openembedded-core-644aaa87a0e161f8a37267f13d4a18f6dfcd9a4f.tar.gz openembedded-core-644aaa87a0e161f8a37267f13d4a18f6dfcd9a4f.tar.bz2 openembedded-core-644aaa87a0e161f8a37267f13d4a18f6dfcd9a4f.tar.xz openembedded-core-644aaa87a0e161f8a37267f13d4a18f6dfcd9a4f.zip |
libxxf86dga: fix compilation with x32 toolchain
Fix type conversion for x32. For x32 the off_t is 64bit and pointers are
32bit.
so the conversion of pointer to off_t was resulting into this error:
| XF86DGA2.c:931:24: error: cast from pointer to integer of different
size [-Werror=pointer-to-int-cast]
| cc1: some warnings being treated as errors
|
| make[2]: *** [XF86DGA2.lo] Error 1
Fixed it by typecasting pointer into unsigned long 1st and then again
typecasting unsigned long to off_t.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-devtools/qemu')
0 files changed, 0 insertions, 0 deletions