fix issue #1605 covert page number type from float to int

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php
index ed99645..df9b0dd 100644
--- a/system/libraries/Pagination.php
+++ b/system/libraries/Pagination.php
@@ -203,7 +203,7 @@
 
 		if ( ! $this->use_page_numbers)
 		{
-			$this->cur_page = floor(($this->cur_page/$this->per_page) + 1);
+			$this->cur_page = (int) floor(($this->cur_page/$this->per_page) + 1);
 		}
 
 		// Calculate the start and end numbers. These determine
@@ -392,4 +392,4 @@
 }
 
 /* End of file Pagination.php */
-/* Location: ./system/libraries/Pagination.php */
\ No newline at end of file
+/* Location: ./system/libraries/Pagination.php */