OSDN Git Service

Fix compilation error on 32-bit systems
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 11 Oct 2011 21:48:59 +0000 (00:48 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 11 Oct 2011 21:28:51 +0000 (00:28 +0300)
commite34836262ba6a46491b6a760520158d70e8b51b5
tree3b81abf57462920b15df199d0d9025b7f737b811
parent291e838c934745e47d30563b4949cc297d79daf3
Fix compilation error on 32-bit systems

This fixes the following compilation error with GLib on 32-bit sytems:

audio/media.c: In function 'get_setting':
audio/media.c:1109:44: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
audio/media.c: In function 'set_setting':
audio/media.c:1132:41: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
audio/media.c