]> granicus.if.org Git - php/commitdiff
fix long/int mess
authorAntony Dovgal <tony2001@php.net>
Mon, 22 Jan 2007 09:05:19 +0000 (09:05 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 22 Jan 2007 09:05:19 +0000 (09:05 +0000)
ext/interbase/ibase_service.c

index 3c53b85a28dbeef4b759a02038b46246e7b86c3c..4d610aa6ee5747162ad36570007fe40c553562dd 100644 (file)
@@ -425,7 +425,8 @@ static void _php_ibase_backup_restore(INTERNAL_FUNCTION_PARAMETERS, char operati
         */
        zval *res;
        char *db, *bk, buf[200];
-       long dblen, bklen, spb_len, opts = 0;
+       int dblen, bklen, spb_len;
+       long opts = 0;
        zend_bool verbose = 0;
        ibase_service *svm;
 
@@ -489,7 +490,8 @@ static void _php_ibase_service_action(INTERNAL_FUNCTION_PARAMETERS, char svc_act
 {
        zval *res;
        char buf[128], *db;
-       long action, spb_len, dblen, argument = 0;
+       int dblen, spb_len;
+       long action, argument = 0;
        ibase_service *svm;
 
        RESET_ERRMSG;