diff options
author | unknown <istruewing@stella.local> | 2007-11-26 14:48:49 +0100 |
---|---|---|
committer | unknown <istruewing@stella.local> | 2007-11-26 14:48:49 +0100 |
commit | 0b34220781f3b2b016595b651a94bfdfb5b23785 (patch) | |
tree | f924ac4d43d03b770f42cc3522a7a26f424e1ad4 /myisam | |
parent | ca632d68016ef238b09e3a7bae8ec57698be3c9d (diff) | |
download | mariadb-git-0b34220781f3b2b016595b651a94bfdfb5b23785.tar.gz |
BUG#31277 - myisamchk --unpack corrupts a table
Another try to fix a compiler warning on win64.
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_packrec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_packrec.c b/myisam/mi_packrec.c index 523cdadbbd3..81fc4d046e7 100644 --- a/myisam/mi_packrec.c +++ b/myisam/mi_packrec.c @@ -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) (((uint) 1 << bits)); table < end; table++) + for (end= table + ((my_ptrdiff_t) 1 << bits); table < end; table++) { *table= (uint16) value; } |