diff options
author | Sujatha Sivakumar <sujatha.sivakumar@oracle.com> | 2012-07-25 14:56:37 +0530 |
---|---|---|
committer | Sujatha Sivakumar <sujatha.sivakumar@oracle.com> | 2012-07-25 14:56:37 +0530 |
commit | aca566d79888293ad5e0a6bad10c35d0a9b36893 (patch) | |
tree | 0ba9ed70d1f5458dd1b1225787b0bbcef63fd216 /mysys | |
parent | 39ddd896587e0111ef25a19060dd89559638de27 (diff) | |
download | mariadb-git-aca566d79888293ad5e0a6bad10c35d0a9b36893.tar.gz |
Follow up patch for BUG#13961678. Fixing compilation warning given below.
"warning: integer constant is too large for 'long' type"
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/mf_iocache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c index 8c91befe905..7aa0934096f 100644 --- a/mysys/mf_iocache.c +++ b/mysys/mf_iocache.c @@ -1532,7 +1532,7 @@ int _my_b_write(register IO_CACHE *info, const uchar *Buffer, size_t Count) DBUG_EXECUTE_IF("simulate_huge_load_data_file", { - pos_in_file=5000000000; + pos_in_file=(my_off_t)(5000000000ULL); }); if (pos_in_file+info->buffer_length > info->end_of_file) { |