Permalink
Browse files

Fix compilation error on floating point constants

  • Loading branch information...
1 parent 17fb34a commit f8db87355bd48c2f206ce1f9b15c9a58897141a8 @edwinb committed Mar 18, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 rts/idris_stats.c
View
@@ -20,8 +20,8 @@ void print_stats(const Stats * stats) {
alloc_rate = (int)((double)(stats->allocations) / mut_sec);
}
- double gc_percent = 0.0d;
- double productivity = 0.0d;
+ double gc_percent = 0.0;
+ double productivity = 0.0;
if (total > 0) {
gc_percent = 100 * (double)stats->gc_time / (double)total;
productivity = 100 * ((double)mut / (double)total);

0 comments on commit f8db873

Please sign in to comment.