X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Futils%2Fhp2ps%2FAxes.c;h=a2641cd6766de268590c7e123c1b8b99d0fb8e19;hb=940ff91a462d25e402cc2751d5712942b2fd7fe9;hp=ddd2bbfa439a55e1663e2a3264069b406fcd5ba2;hpb=e7d21ee4f8ac907665a7e170c71d59e13a01da09;p=ghc-hetmet.git diff --git a/ghc/utils/hp2ps/Axes.c b/ghc/utils/hp2ps/Axes.c index ddd2bbf..a2641cd 100644 --- a/ghc/utils/hp2ps/Axes.c +++ b/ghc/utils/hp2ps/Axes.c @@ -1,6 +1,6 @@ +#include "Main.h" #include #include -#include "Main.h" #include "Curves.h" #include "Defines.h" #include "Dimensions.h" @@ -107,17 +107,17 @@ YAxisMark(y, num, unit) switch (unit) { case MEGABYTE : fprintf(psfp, "("); - CommaPrint(psfp, (int) (num / 1e6 + 0.5)); + CommaPrint(psfp, (intish) (num / 1e6 + 0.5)); fprintf(psfp, "M)\n"); break; case KILOBYTE : fprintf(psfp, "("); - CommaPrint(psfp, (int) (num / 1e3 + 0.5)); + CommaPrint(psfp, (intish) (num / 1e3 + 0.5)); fprintf(psfp, "k)\n"); break; case BYTE: fprintf(psfp, "("); - CommaPrint(psfp, (int) (num + 0.5)); + CommaPrint(psfp, (intish) (num + 0.5)); fprintf(psfp, ")\n"); break; }