Addresss some warnings raised when compiling with clang:

   * a (probably bogus) warning about a printf argument mismatch
   * an warning about an unused function
Fix arguments for ctypes_uintN_of_string functions.
Convert pointer before arithmetic.

Avoid arithmetic on void *.