diff options
author | Mika Kuoppala <mika.kuoppala@intel.com> | 2015-12-10 16:54:40 +0200 |
---|---|---|
committer | Mika Kuoppala <mika.kuoppala@intel.com> | 2015-12-14 10:23:58 +0200 |
commit | 5a8d063e42c7b5843a0f069d4c2216f8f4fb81fe (patch) | |
tree | 8dda0ec720ca4a2d1a28bdb2f7fd205a1c44ab2c /tests/prime_self_import.c | |
parent | 14f70a861b66f8a62a53911cf587fadeebca5957 (diff) |
tests/gem_softpin: Fix compiler warning on 32bit systems
We get build error as we try to cast from ptr to integer
of different size on 32 bit platforms. Use unsigned long
as the cast, it will work with both 32 and 64 bit
systems.
Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Diffstat (limited to 'tests/prime_self_import.c')
0 files changed, 0 insertions, 0 deletions