Fix warnings when compiling for 64-bit ARM and iOS 7

Signed-off-by: David Jensenius <djensenius@gmail.com>
Merge pull request #24 from djensenius/master

Fix warnings when compiling for 64-bit ARM and iOS 7