uint -> IntPtr

Signed-off-by: Konctantin <gawrilyako@gmail.com>