Cast integer data type to prevent SQL injection