Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19304 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98366 invoked by uid 1010); 30 Sep 2005 10:55:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98351 invoked from network); 30 Sep 2005 10:55:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Sep 2005 10:55:42 -0000 X-Host-Fingerprint: 68.142.207.73 web31810.mail.mud.yahoo.com Received: from ([68.142.207.73:33457] helo=web31810.mail.mud.yahoo.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B2/73-54476-EA91D334 for ; Fri, 30 Sep 2005 06:55:42 -0400 Received: (qmail 47701 invoked by uid 60001); 30 Sep 2005 10:55:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3citJiUFoUK+FWIKZaBiOnmSW0nYjwipc3SBk/bdUsz2L0jNKCUc4ogJDVf314zX10eW7nJ+GC/bXdqGgSdQnr7QqcgwTjykdJ/6O3SBaVhImT2bg5Tf7hk9GiInSwACFj6GMnbSlYS+9cyYBlIJkUwgpCZAzcT6npp7mm5Muy0= ; Message-ID: <20050930105539.47699.qmail@web31810.mail.mud.yahoo.com> Received: from [202.46.19.93] by web31810.mail.mud.yahoo.com via HTTP; Fri, 30 Sep 2005 03:55:39 PDT Date: Fri, 30 Sep 2005 03:55:39 -0700 (PDT) To: internals MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [PATCH] convert_to_explicit_type_ex() macro From: rollandsantimano@yahoo.com (Rolland Santimano) Can someone with perms fix the convert_to_explicit_type_ex() macro in ZendEngine2 ? I don't have commit perms. -- Index: Zend/zend_operators.h =================================================================== RCS file: /repository/ZendEngine2/zend_operators.h,v retrieving revision 1.100 diff -u -r1.100 zend_operators.h --- Zend/zend_operators.h 23 Aug 2005 22:05:22 -0000 1.100 +++ Zend/zend_operators.h 30 Sep 2005 10:51:20 -0000 @@ -346,12 +346,11 @@ } \ } while (0); \ -#define convert_to_explicit_type_ex(ppzv, type) \ - if ((*ppzv)->type != type) { \ +#define convert_to_explicit_type_ex(ppzv, str_type) \ + if ((*ppzv)->type != str_type) { \ SEPARATE_ZVAL_IF_NOT_REF(ppzv); \ - convert_to_explicit_type(*ppzv, type); \ + convert_to_explicit_type(*ppzv, str_type); \ } \ -} #define convert_to_boolean_ex(ppzv) convert_to_ex_master(ppzv, boolean, BOOL) #define convert_to_long_ex(ppzv) convert_to_ex_master(ppzv, long, LONG)