diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-03-11 10:30:07 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-03-11 10:30:07 -0500 |
commit | 61e38c95e5a0819816245ad1d2a518520234b064 (patch) | |
tree | 30546bf793a12833e33e9d46af7f008a1d8341d4 | |
parent | e0f1df0155c91c61167af87aee7dd653a33409f7 (diff) | |
download | dimension-61e38c95e5a0819816245ad1d2a518520234b064.tar.xz |
Warn about "rounding" not "casting" floats to integers.
-rw-r--r-- | dimension/realize.c | 2 |
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: |