diff options
author | Felipe Pena <felipe@php.net> | 2008-10-06 15:14:17 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-10-06 15:14:17 +0000 |
commit | 2f2a0d82598ab7ca1aa6bd4093fd206fc5ae5ab4 (patch) | |
tree | 8ea1cddceeadaf1b49e5467071c40bea53e54593 /ext/interbase/ibase_service.c | |
parent | 8b603dfa073f2ca8011ef9f4c01deb359ee35f4b (diff) | |
download | php-git-2f2a0d82598ab7ca1aa6bd4093fd206fc5ae5ab4.tar.gz |
- MFH: Fixed compiler warning
Diffstat (limited to 'ext/interbase/ibase_service.c')
-rw-r--r-- | ext/interbase/ibase_service.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ext/interbase/ibase_service.c b/ext/interbase/ibase_service.c index 9107ae6634..087ebaca52 100644 --- a/ext/interbase/ibase_service.c +++ b/ext/interbase/ibase_service.c @@ -229,8 +229,7 @@ PHP_FUNCTION(ibase_service_attach) user, isc_spb_password, (char)plen, pass, host); if (spb_len > sizeof(buf) || spb_len == -1) { - _php_ibase_module_error("Internal error: insufficient buffer space for SPB (%ld)" - TSRMLS_CC, spb_len); + _php_ibase_module_error("Internal error: insufficient buffer space for SPB (%d)" TSRMLS_CC, spb_len); RETURN_FALSE; } @@ -451,8 +450,7 @@ static void _php_ibase_backup_restore(INTERNAL_FUNCTION_PARAMETERS, char operati } if (spb_len > sizeof(buf) || spb_len <= 0) { - _php_ibase_module_error("Internal error: insufficient buffer space for SPB (%ld)" - TSRMLS_CC, spb_len); + _php_ibase_module_error("Internal error: insufficient buffer space for SPB (%d)" TSRMLS_CC, spb_len); RETURN_FALSE; } @@ -560,8 +558,7 @@ options_argument: } if (spb_len > sizeof(buf) || spb_len == -1) { - _php_ibase_module_error("Internal error: insufficient buffer space for SPB (%ld)" - TSRMLS_CC, spb_len); + _php_ibase_module_error("Internal error: insufficient buffer space for SPB (%d)" TSRMLS_CC, spb_len); RETURN_FALSE; } |