Commit 282b4f95 authored by Michael Beck's avatar Michael Beck
Browse files

C99 feature removed.

[r27892]
parent dbe67187
/*
* Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
* Copyright (C) 1995-2010 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
......@@ -255,10 +255,11 @@ static int cmp_col_cost_gt(const void *a, const void *b)
{
const col_cost_t *c1 = a;
const col_cost_t *c2 = b;
if (c2->cost == c1->cost)
real_t diff = c2->cost - c1->cost;
if (diff == 0.0)
return QSORT_CMP(c1->col, c2->col);
real_t diff = c2->cost - c1->cost;
return (diff > 0) - (diff < 0);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment