svn: /php/php-src/branches/PHP_5_3/ext/sybase_ct/ php_sybase_ct.c
| From: | Timm Friebe | Date: | Mon, 13 Jun 2011 08:45:21 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3/ext/sybase_ct/ php_sybase_ct.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65216@lists.php.net to get a copy of this message | ||
thekid Mon, 13 Jun 2011 08:45:21 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312116
Log:
- MFH suppression of compiler warning noted in bug #55009
Bug: http://bugs.php.net/55009 (Feedback) Error when compile
Changed paths:
U php/php-src/branches/PHP_5_3/ext/sybase_ct/php_sybase_ct.c
Modified: php/php-src/branches/PHP_5_3/ext/sybase_ct/php_sybase_ct.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/sybase_ct/php_sybase_ct.c 2011-06-13 08:43:21 UTC (rev 312115)
+++ php/php-src/branches/PHP_5_3/ext/sybase_ct/php_sybase_ct.c 2011-06-13 08:45:21 UTC (rev 312116)
@@ -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);