summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-11 10:30:07 -0500
committerTavian Barnes <tavianator@gmail.com>2010-03-11 10:30:07 -0500
commit61e38c95e5a0819816245ad1d2a518520234b064 (patch)
tree30546bf793a12833e33e9d46af7f008a1d8341d4 /dimension
parente0f1df0155c91c61167af87aee7dd653a33409f7 (diff)
downloaddimension-61e38c95e5a0819816245ad1d2a518520234b064.tar.xz
Warn about "rounding" not "casting" floats to integers.
Diffstat (limited to 'dimension')
-rw-r--r--dimension/realize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dimension/realize.c b/dimension/realize.c
index 9fa333b..fde751a 100644
--- a/dimension/realize.c
+++ b/dimension/realize.c
@@ -32,7 +32,7 @@ dmnsn_realize_integer(dmnsn_astnode astnode)
return *(long *)astnode.ptr;
case DMNSN_AST_FLOAT:
dmnsn_diagnostic(astnode.filename, astnode.line, astnode.col,
- "WARNING: float cast to integer");
+ "WARNING: float rounded to integer");
return *(double *)astnode.ptr;
default: