summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-08-28 16:48:22 +0000
committerArd Biesheuvel <abies@php.net>2003-08-28 16:48:22 +0000
commit50006652ae2a0ed495557b9e9f180efed9e49d7a (patch)
tree726c49248ccf9b02f7a54ebad3e45a83e502fed0
parent2e36578cfd7c7a33dafcc2a48fbb0a718999af12 (diff)
downloadphp-git-50006652ae2a0ed495557b9e9f180efed9e49d7a.tar.gz
Fixed some format strings
-rw-r--r--ext/interbase/interbase.c6
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;
}