btrfs-progs: fix 32bit int/pointer cast warnings
authorZach Brown <zab@redhat.com>
Thu, 15 Nov 2012 22:24:03 +0000 (14:24 -0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 17 Jan 2013 17:27:55 +0000 (18:27 +0100)
commit88016b0ee92e0c221a5eebbaf016a3bbe2b77034
treef6a9fbbeff744e03b5f5b3a197479316229ca8d9
parent6e0e6c5e63ca2f9862d0116b09185abdad8ccacf
btrfs-progs: fix 32bit int/pointer cast warnings

This uses uintptr_t to cast pointers to u64 ioctl arguments to silence
some 32bit build warnings:

cmds-inspect.c: In function ‘__ino_to_path_fd’:
cmds-inspect.c:47:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
cmds-inspect.c: In function ‘cmd_logical_resolve’:
cmds-inspect.c:171:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

Signed-off-by: Zach Brown <zab@redhat.com>
cmds-inspect.c