Date: 05 Jun 2003 19:41:11 +0000 From: Jan.Stocker@t-online.de (Jan Stocker) To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-current@freebsd.org Subject: Re: our compiler can't convert longlong to float? 5.1-RC1 Message-ID: <1054842070.684.1.camel@Twoflower.liebende.de> In-Reply-To: <20030605032011.GA40478@rot13.obsecurity.org> References: <20030603154040.GA28104@chihiro.leafy.idv.tw> <20030603225547.GA32620@rot13.obsecurity.org> <20030605014438.GA31113@chihiro.leafy.idv.tw> <20030605032011.GA40478@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Another thing with this code.....
> > #include <stdio.h>
> > typedef long long longlong;
> > main()
> > {
> > longlong ll=1;
> > float f;
> > FILE *file=fopen("conftestval", "w");
> > f = (float) ll;
> > fprintf(file,"%g\n",f);
> > close(file);
I think this has to be "fclose"....
> > exit (0);
> > }
--
Jan Stocker <Jan.Stocker@t-online.de>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1054842070.684.1.camel>
