]> granicus.if.org Git - php/commitdiff
Fixed some format strings
authorArd Biesheuvel <abies@php.net>
Thu, 28 Aug 2003 16:48:22 +0000 (16:48 +0000)
committerArd Biesheuvel <abies@php.net>
Thu, 28 Aug 2003 16:48:22 +0000 (16:48 +0000)
ext/interbase/interbase.c

index d61ba3c970a79e22f562ca00999d453af141bbc7..275611ac71e87ee19742e236aad7fdd1e5c1502c 100644 (file)
@@ -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;
                }