#18992 [Fbk->NoF]: type error in ext/gd/gd.c line l=strlen(str)
| From: | sniper@php.net | Date: | Sat, 21 Sep 2002 06:58:16 +0000 |
| Subject: | #18992 [Fbk->NoF]: type error in ext/gd/gd.c line l=strlen(str) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19947@lists.php.net to get a copy of this message | ||
ID: 18992
Updated by: sniper@php.net
Reported By: rdoetjes@phonax.com
-Status: Feedback
+Status: No Feedback
Bug Type: Compile Failure
Operating System: Tru64 V5.0A
PHP Version: 4.2.2
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2002-08-20 15:37:24] sander@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-08-20 14:50:35] rdoetjes@phonax.com
There is a styping error in the PHP releases (I noticed 4.2.1 and
4.2.2) so most likely it will be in previsou releases also.
I'm compiling PHP with Tru64's cc it complains that strlen argument is
a unsigned char* instead of a char*. (Which he's completely right
about).
I changed the line to: l = strlen((char *)str);
I don't understand why it's being casted to a unsigned char* in the
line above it anyway, I think you have a good cause for that.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18992&edit=1