]> granicus.if.org Git - php/commitdiff
- Fix warning
authorMarcus Boerger <helly@php.net>
Sun, 26 Sep 2004 22:23:14 +0000 (22:23 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 26 Sep 2004 22:23:14 +0000 (22:23 +0000)
ext/pdo/pdo.c

index 1f0f1b07847944ecebb59b10e8b626d0b2aa2ca9..cc620d810e81cb68faba75f3e9a4edc86f5a3c09 100755 (executable)
@@ -99,7 +99,7 @@ static void php_pdo_init_globals(zend_pdo_globals *pdo_globals)
 PDO_API int php_pdo_register_driver(pdo_driver_t *driver)
 {
        if (driver->api_version != PDO_DRIVER_API) {
-               zend_error(E_ERROR, "PDO: driver %s requires PDO API version %d; this is PDO version %d",
+               zend_error(E_ERROR, "PDO: driver %s requires PDO API version %ld; this is PDO version %d",
                        driver->driver_name, driver->api_version, PDO_DRIVER_API);
                return FAILURE;
        }