diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-11-10 01:41:57 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-11-10 01:41:57 -0500 |
commit | f7f174822cebf5958fc5e6b2a80ba53d0e55a680 (patch) | |
tree | 833d2b3261b65236be9f1e60d7a9ad959e8dcc74 /dimension/parse.c | |
parent | 516df38e8acff5d1f7022ae5492f814acea1df3c (diff) | |
download | dimension-f7f174822cebf5958fc5e6b2a80ba53d0e55a680.tar.xz |
Standard compliance.
Apparently ssize_t isn't a standard type...
Diffstat (limited to 'dimension/parse.c')
-rw-r--r-- | dimension/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dimension/parse.c b/dimension/parse.c index 4e748cc..5e6b6b1 100644 --- a/dimension/parse.c +++ b/dimension/parse.c @@ -564,7 +564,7 @@ dmnsn_eval_zeroary(dmnsn_astnode astnode, dmnsn_symbol_table *symtable) switch (astnode.type) { case DMNSN_AST_PI: - dmnsn_make_ast_float(&ret, M_PI); + dmnsn_make_ast_float(&ret, 4.0*atan(1.0)); break; case DMNSN_AST_TRUE: dmnsn_make_ast_integer(&ret, 1); |