From: Ard Biesheuvel Date: Thu, 28 Aug 2003 16:48:22 +0000 (+0000) Subject: Fixed some format strings X-Git-Tag: RELEASE_0_7~413 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50006652ae2a0ed495557b9e9f180efed9e49d7a;p=php Fixed some format strings --- diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c index d61ba3c970..275611ac71 100644 --- a/ext/interbase/interbase.c +++ b/ext/interbase/interbase.c @@ -887,12 +887,12 @@ static void _php_ibase_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) list_entry new_le; if ((IBG(max_links) != -1) && (IBG(num_links) >= IBG(max_links))) { - _php_ibase_module_error("Too many open links (%d)" TSRMLS_CC, IBG(num_links)); + _php_ibase_module_error("Too many open links (%ld)" TSRMLS_CC, IBG(num_links)); efree(hashed_details); RETURN_FALSE; } if ((IBG(max_persistent) != -1) && (IBG(num_persistent) >= IBG(max_persistent))) { - _php_ibase_module_error("Too many open persistent links (%d)" TSRMLS_CC, IBG(num_persistent)); + _php_ibase_module_error("Too many open persistent links (%ld)" TSRMLS_CC, IBG(num_persistent)); efree(hashed_details); RETURN_FALSE; } @@ -953,7 +953,7 @@ static void _php_ibase_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) } } if ((IBG(max_links) != -1) && (IBG(num_links) >= IBG(max_links))) { - _php_ibase_module_error("Too many open links (%d)" TSRMLS_CC, IBG(num_links)); + _php_ibase_module_error("Too many open links (%ld)" TSRMLS_CC, IBG(num_links)); efree(hashed_details); RETURN_FALSE; }