summaryrefslogtreecommitdiff
path: root/drivers/adodb-firebird.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/adodb-firebird.inc.php')
-rw-r--r--drivers/adodb-firebird.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/adodb-firebird.inc.php b/drivers/adodb-firebird.inc.php
index db3cca5d..52d751d8 100644
--- a/drivers/adodb-firebird.inc.php
+++ b/drivers/adodb-firebird.inc.php
@@ -427,7 +427,7 @@ class ADODB_firebird extends ADOConnection {
$rs = $this->Execute($getnext);
}
if ($rs && !$rs->EOF) {
- $this->genID = (integer) reset($rs->fields);
+ $this->genID = (int) reset($rs->fields);
}
else {
$this->genID = 0; // false
@@ -454,7 +454,7 @@ class ADODB_firebird extends ADOConnection {
public function errorNo()
{
- return (integer) $this->_errorCode;
+ return (int) $this->_errorCode;
}
function errorMsg()
@@ -989,8 +989,8 @@ class ADODB_firebird extends ADOConnection {
*/
public function selectLimit($sql,$nrows=-1,$offset=-1,$inputarr=false, $secs2cache=0)
{
- $nrows = (integer) $nrows;
- $offset = (integer) $offset;
+ $nrows = (int) $nrows;
+ $offset = (int) $offset;
$str = 'SELECT ';
if ($nrows >= 0) $str .= "FIRST $nrows ";
$str .=($offset>=0) ? "SKIP $offset " : '';