Removed itoa() call as it is platform-specific.