From 50006652ae2a0ed495557b9e9f180efed9e49d7a Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Thu, 28 Aug 2003 16:48:22 +0000 Subject: [PATCH] Fixed some format strings --- ext/interbase/interbase.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.40.0