Commit 1d2a0d1d authored by istruewing@stella.local's avatar istruewing@stella.local
Browse files

BUG#31277 - myisamchk --unpack corrupts a table

Fixed a compiler warning on win64. Backport from 5.1.
parent 17399e7b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -563,7 +563,7 @@ static void fill_quick_table(uint16 *table, uint bits, uint max_bits,
  */
  value|= (max_bits - bits) << 8 | IS_CHAR;

  for (end= table + ((uint) 1 << bits); table < end; table++)
  for (end= table + (uint) (((uint) 1 << bits)); table < end; table++)
  {
    *table= (uint16) value;
  }