fixes potential SQL injection vector in Active Record offset()
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index 37d162b..89766e3 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -894,7 +894,7 @@
 	 */
 	public function offset($offset)
 	{
-		$this->ar_offset = $offset;
+		$this->ar_offset = (int) $offset;
 		return $this;
 	}