Merge branch 'develop' of https://github.com/EllisLab/CodeIgniter into develop
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index 4247351..429f651 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -988,7 +988,7 @@
 	 */
 	public function limit($value, $offset = NULL)
 	{
-		$this->ar_limit = (int) $value;
+		$this->ar_limit = $value;
 
 		if ( ! is_null($offset))
 		{