]> granicus.if.org Git - php/commitdiff
fix #34855 (ibase_service_attach() segfault on AMD64)
authorAntony Dovgal <tony2001@php.net>
Thu, 13 Oct 2005 12:58:22 +0000 (12:58 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 13 Oct 2005 12:58:22 +0000 (12:58 +0000)
ext/interbase/ibase_service.c

index bc635f3dfc5b11c30e660c2e582716c41686ccca..6bd98c2092cd9f4d6a19a41b1e121d16043a81c9 100644 (file)
@@ -210,7 +210,7 @@ PHP_FUNCTION(ibase_delete_user)
    Connect to the service manager */
 PHP_FUNCTION(ibase_service_attach)
 {
-       long hlen, ulen, plen, spb_len;
+       int hlen, ulen, plen, spb_len;
        ibase_service *svm;
        char buf[128], *host, *user, *pass, *loc;
        isc_svc_handle handle = NULL;