(void) state; /* unused */
- will_return(mock_query_database, &customer_ids);
+ will_return(mock_query_database,
+ cast_ptr_to_largest_integral_type(&customer_ids));
will_return(mock_query_database, 1);
rc = get_customer_id_by_name(&connection, "john doe");