summaryrefslogtreecommitdiff
path: root/utils/hp2ps
diff options
context:
space:
mode:
authorReid Barton <rwbarton@gmail.com>2014-06-30 22:11:03 -0400
committerReid Barton <rwbarton@gmail.com>2014-06-30 22:11:03 -0400
commit9785bb7cb96ecee409a40fb413035758dd278db7 (patch)
treeb1b85c0d24a00aff6a226c8cf976f1e84a757785 /utils/hp2ps
parentb735883016b946372cb44b6c5d86dc36c126a8cf (diff)
downloadhaskell-9785bb7cb96ecee409a40fb413035758dd278db7.tar.gz
Add a cast to new code in hp2ps
For parallelism with the existing code. I don't think it should make any difference.
Diffstat (limited to 'utils/hp2ps')
-rw-r--r--utils/hp2ps/HpFile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hp2ps/HpFile.c b/utils/hp2ps/HpFile.c
index f2a01cd3a2..9459247a03 100644
--- a/utils/hp2ps/HpFile.c
+++ b/utils/hp2ps/HpFile.c
@@ -363,7 +363,7 @@ GetNumber(FILE *infp)
If this is an identifier line, the value might exceed
the size of 'int', and we are going to convert it to
a floatish anyways. */
- thefloatish = atof(numberstring);
+ thefloatish = (floatish) atof(numberstring);
return INTEGER_TOK;
}
}