diff --git a/update.php b/update.php
index d3b332926cc7ecdfb0424a8538a097dc364fc376..ff607cec193f98183ae6c46bcfb71b4e00e4f99d 100644
--- a/update.php
+++ b/update.php
@@ -571,7 +571,7 @@ function update_fix_system_table() {
         break;
       case 'mysql':
       case 'mysqli':
-        $ret[] = update_sql("ALTER TABLE {system} ADD weight tinyint(3) unsigned default '0' NOT NULL, ADD KEY (weight)");
+        $ret[] = update_sql("ALTER TABLE {system} ADD weight tinyint(2) default '0' NOT NULL, ADD KEY (weight)");
         break;
     }
   }