diff options
-rw-r--r-- | ext/interbase/interbase.c | 6 |
1 files 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; } |