Non-integer passed as parameter '%d' when integer is required in call to '%ls': if a pointer value is being passed, %p should ...