Re: Some more warnings
| From: | Rasmus Lerdorf | Date: | Tue, 13 Nov 2001 13:40:51 +0000 |
| Subject: | Re: Some more warnings | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70349@lists.php.net to get a copy of this message | ||
These definitely do not hide any sort of bug. They are simply scaling an
image and the result needs to be an int as you can't have fractional
pixels. So this data-loss is intentional.
-Rasmus
On Tue, 13 Nov 2001, Sebastian Bergmann wrote:
> gd.c
> C:\home\php\php4\ext\gd\gd.c(3537) : warning C4244: '=' :
> Conversion from 'float' to 'int', possible data loss
> C:\home\php\php4\ext\gd\gd.c(3538) : warning C4244: '=' :
> Conversion from 'float' to 'int', possible data loss
> C:\home\php\php4\ext\gd\gd.c(3550) : warning C4244: '=' :
> Conversion from 'float' to 'int', possible data loss
> C:\home\php\php4\ext\gd\gd.c(3551) : warning C4244: '=' :
> Conversion from 'float' to 'int', possible data loss
>
>