summaryrefslogtreecommitdiffhomepage
path: root/examples/complex.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-14 11:43:15 +0200
committerTyge Løvset <[email protected]>2020-09-14 11:43:15 +0200
commitab21f83c4af4f2b628ce36ad03f5c78fbb11a06a (patch)
tree900c1ba2db1f861ceca40a3e37a3e644aeaee954 /examples/complex.c
parent1dd8d2ef2b5fd86bd500ab01c52f7e4a3bd9df60 (diff)
downloadSTC-modified-ab21f83c4af4f2b628ce36ad03f5c78fbb11a06a.tar.gz
STC-modified-ab21f83c4af4f2b628ce36ad03f5c78fbb11a06a.zip
Removed warnings. clang, vs.
Diffstat (limited to 'examples/complex.c')
-rw-r--r--examples/complex.c2
1 files changed, 1 insertions, 1 deletions
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);