aboutsummaryrefslogtreecommitdiff
path: root/src/algo/ft_compar_int.c
blob: 848dc71d73fb70c40f7f7260b0cab3d847104541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_compar_int.c                                    :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/01/19 08:24:43 by cacharle          #+#    #+#             */
/*   Updated: 2020/01/19 08:27:38 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#include "libft.h"

int	ft_compar_int(const void *a, const void *b)
{
	return (*(int*)a - *(int*)b);
}