util: fix warning/error on 32bit build
authorTapani Pälli <tapani.palli@intel.com>
Tue, 25 Jul 2017 05:38:03 +0000 (08:38 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 25 Jul 2017 09:54:33 +0000 (12:54 +0300)
commit8dba6f8cf4d1f1d2dfd102c7ddc230995488247c
tree761885bc2abb1847fd3dd9754b1459b1e674b4c4
parentdacb3197774623fd1b8738af89aa0bbc7ba1333b
util: fix warning/error on 32bit build

Add uintptr_t cast to fix 'cast to pointer from integer of different size'
warning on 32bit build (build error on Android M).

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/util/hash_table.c