diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-22 21:33:25 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-22 21:33:25 -0800 |
commit | f59b8db649c1596a38ce20025417c4060d442d64 (patch) | |
tree | 1414a2be7a92cb8b84b3f3dd6546bf9d59f14330 | |
parent | e79903a50b0a9cba9d0e41fc2e389117f3ff42ef (diff) |
Store min & max as doubles, not floats
Since atof generates doubles, and we use them to compare/limit the values
of the double "d", might as well keep them in the same format instead of
doing unnecessary conversions.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | transSet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -129,7 +129,7 @@ main (int argc, char **argv) Bool flag_verbose = False; Bool flag_no_regex = False; int o; - float min = 0, max = 1; + double min = 0.0, max = 1.0; char *idstr = NULL, *namestr = NULL; char *windowname = NULL; |