Convert to integer instead of to char pointer.