Corrected function call.
added long long equivalents to several int conversion functions.