From ab21f83c4af4f2b628ce36ad03f5c78fbb11a06a Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Mon, 14 Sep 2020 11:43:15 +0200 Subject: Removed warnings. clang, vs. --- examples/complex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/complex.c') diff --git a/examples/complex.c b/examples/complex.c index 25a59eff..151824e2 100644 --- a/examples/complex.c +++ b/examples/complex.c @@ -23,7 +23,7 @@ int main() { // Put in some data. cmap_g listMap = cmap_ini; - *carray2f_at(&table, y, x) = 3.1415927; // table[y][x] + *carray2f_at(&table, y, x) = 3.1415927f; // table[y][x] clist_y_push_back(&tableList, table); cmap_g_put(&listMap, tableKey, tableList); cmap_s_put(&myMap, strKey, listMap); -- cgit v1.2.3