diff options
| author | Tyge Løvset <[email protected]> | 2023-02-18 07:51:44 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-02-18 07:51:44 +0100 |
| commit | 0e3d07dbd991c1f1a691b24655c37ddab660a9d9 (patch) | |
| tree | dc9801e2fc9f62cbe3eb32cc8897c65e3f25f78b /misc/examples/list.c | |
| parent | c4ae61de5be08e719e3183f4e2d1115c11856796 (diff) | |
| download | STC-modified-0e3d07dbd991c1f1a691b24655c37ddab660a9d9.tar.gz STC-modified-0e3d07dbd991c1f1a691b24655c37ddab660a9d9.zip | |
Fixed carc, cbox: no need for no_lookup and no_eq: use only no_cmp, no_hash if needed.
Diffstat (limited to 'misc/examples/list.c')
| -rw-r--r-- | misc/examples/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/list.c b/misc/examples/list.c index 79dcfcaf..6a655800 100644 --- a/misc/examples/list.c +++ b/misc/examples/list.c @@ -30,7 +30,7 @@ int main() { clist_fx_sort(&list); // mergesort O(n*log n) puts("sorted"); - int last = 0; + double last = 0; c_foreach (i, clist_fx, list) { if (*i.ref < last) {printf("ERROR"); exit(-1);} last = *i.ref; |
