summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-10 01:41:57 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-10 01:41:57 -0500
commitf7f174822cebf5958fc5e6b2a80ba53d0e55a680 (patch)
tree833d2b3261b65236be9f1e60d7a9ad959e8dcc74 /dimension
parent516df38e8acff5d1f7022ae5492f814acea1df3c (diff)
downloaddimension-f7f174822cebf5958fc5e6b2a80ba53d0e55a680.tar.xz
Standard compliance.
Apparently ssize_t isn't a standard type...
Diffstat (limited to 'dimension')
-rw-r--r--dimension/parse.c2
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);