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 | a0e448c4d44d6368e5dbe3f0a1159ba5f5c77b6f (patch) | |
tree | 0ba9ed70d1f5458dd1b1225787b0bbcef63fd216 /mysys | |
parent | 11af85aea9e9e34bce0a93e510f3b4cbcf61aaf6 (diff) | |
download | mariadb-git-a0e448c4d44d6368e5dbe3f0a1159ba5f5c77b6f.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) { |