thekid Mon, 13 Jun 2011 08:43:21 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312115
Log: - Fix compiler warning about long vs. int in printf() # See bug #55009 # Compare to _server_message_handler() a little below, where this # is done the same way Bug: http://bugs.php.net/55009 (Feedback) Error when compile Changed paths: U php/php-src/trunk/ext/sybase_ct/php_sybase_ct.c Modified: php/php-src/trunk/ext/sybase_ct/php_sybase_ct.c =================================================================== --- php/php-src/trunk/ext/sybase_ct/php_sybase_ct.c 2011-06-13 06:49:56 UTC (rev 312114) +++ php/php-src/trunk/ext/sybase_ct/php_sybase_ct.c 2011-06-13 08:43:21 UTC (rev 312115) @@ -388,7 +388,7 @@ TSRMLS_FETCH(); if (CS_SEVERITY(errmsg->msgnumber) >= SybCtG(min_client_severity)) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Client message: %s (severity %d)", errmsg->msgstring, CS_SEVERITY(errmsg->msgnumber)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Client message: %s (severity %ld)", errmsg->msgstring, (long)CS_SEVERITY(errmsg->msgnumber)); } STR_FREE(SybCtG(server_message)); SybCtG(server_message) = estrdup(errmsg->msgstring);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php