diff options
author | unknown <monty@hundin.mysql.fi> | 2001-09-15 16:22:34 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-09-15 16:22:34 +0300 |
commit | 7dc2f1a69e61a4370ae06edc77de0fd5bf98e6fb (patch) | |
tree | 8783b1d57a27183a301b7fdfaaf671cf498a7e8e /sql/item_sum.cc | |
parent | ef2e750842f4f913ef93c404e4d2d05e95a4cfd0 (diff) | |
download | mariadb-git-7dc2f1a69e61a4370ae06edc77de0fd5bf98e6fb.tar.gz |
Portability fixes
libmysql/libmysql.c:
Cleanup & portability fixes
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r-- | sql/item_sum.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc index a7e608855ee..812fc636fef 100644 --- a/sql/item_sum.cc +++ b/sql/item_sum.cc @@ -795,7 +795,7 @@ static int simple_raw_key_cmp(void* arg, byte* key1, byte* key2) static int simple_str_key_cmp(void* arg, byte* key1, byte* key2) { - return my_sortcmp(key1, key2, *(uint*) arg); + return my_sortcmp((char*) key1, (char*) key2, *(uint*) arg); } /* @@ -832,7 +832,7 @@ int composite_key_cmp(void* arg, byte* key1, byte* key2) int dump_leaf(byte* key, uint32 count __attribute__((unused)), Item_sum_count_distinct* item) { - char* buf = item->table->record[0]; + byte* buf = item->table->record[0]; int error; /* The first item->rec_offset bytes are taken care of with |