From 8651135b96f2c6e0935e9bf98eb9f2a969ce7fdd Mon Sep 17 00:00:00 2001
From: zYne <zYne@625475ce-881a-0410-a577-b389adb331d8>
Date: Fri, 20 Jul 2007 09:38:10 +0000
Subject: [PATCH] fixed INT_MAX issue

---
 lib/Doctrine/Table.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Doctrine/Table.php b/lib/Doctrine/Table.php
index 2efe2ae3c..31466bb28 100644
--- a/lib/Doctrine/Table.php
+++ b/lib/Doctrine/Table.php
@@ -1196,7 +1196,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
                     return (boolean) $value;
                 break;
                 case 'integer':
-                    return (int) $value;
+                    // don't do any casting here PHP INT_MAX is smaller than what the databases support
                 break;
             }
         }