From: Timm Friebe Date: Mon, 13 Jun 2011 08:45:21 +0000 (+0000) Subject: - MFH suppression of compiler warning noted in bug #55009 X-Git-Tag: php-5.3.7RC1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6210bf0dba9f755d27d5fee03c6c97fd76186650;p=php - MFH suppression of compiler warning noted in bug #55009 --- diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c index 2d32406588..ca55beb35f 100644 --- a/ext/sybase_ct/php_sybase_ct.c +++ b/ext/sybase_ct/php_sybase_ct.c @@ -388,7 +388,7 @@ static CS_RETCODE CS_PUBLIC _client_message_handler(CS_CONTEXT *context, CS_CONN 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);