This commit is contained in:
Nikolaj
2021-10-07 14:50:32 +02:00
parent c88726146e
commit 8f39ccb72c
3 changed files with 6 additions and 4 deletions

View File

@ -16,13 +16,13 @@ double closest_point_distance;
int lon_comp_func(const void* a, const void* b) {
return (
((struct record*)a)->lon - ((struct record*)b)->lon
((struct record*)a)->lon > ((struct record*)b)->lon
);
}
int lat_comp_func(const void* a, const void* b) {
return (
((struct record*)a)->lat - ((struct record*)b)->lat
((struct record*)a)->lat > ((struct record*)b)->lat
);
}