#18992 [Opn->Fbk]: type error in ext/gd/gd.c line l=strlen(str)

From: Date: Tue, 20 Aug 2002 19:37:24 +0000
Subject: #18992 [Opn->Fbk]: 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-17336@lists.php.net to get a copy of this message
ID: 18992 Updated by: sander@php.net Reported By: rdoetjes@phonax.com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Tru64 V5.0A PHP Version: 4.2.2 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#17336) next »