--- uc_cart/uc_cart.install.orig	Mon Dec 14 02:13:59 2009
+++ uc_cart/uc_cart.install	Mon Dec 14 02:14:54 2009
@@ -34,7 +34,6 @@ function uc_cart_schema() {
       ),
       'qty' => array(
         'type' => 'int',
-        'size' => 'small',
         'unsigned' => TRUE,
         'not null' => TRUE,
         'default' => 0,
@@ -170,4 +169,13 @@ function uc_cart_update_6201() {
   }
 
   return $ret;
-}
\ No newline at end of file
+}
+
+/**
+ * Increase the size of the quantities field from short int to int
+ */
+function uc_cart_update_6202() {
+  $ret = array();
+  db_change_field($ret, 'uc_cart_products', 'qty', 'qty', array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0));
+  return $ret;
+}
