diff options
author | unknown <joerg/mysqldev@bk-internal.mysql.com> | 2006-12-20 22:29:03 +0100 |
---|---|---|
committer | unknown <joerg/mysqldev@bk-internal.mysql.com> | 2006-12-20 22:29:03 +0100 |
commit | 69a11590bfd372eb345916c0213201920744dafc (patch) | |
tree | 19d70c37214a377d98ff2af4c05b05c5e477eb4d /cmd-line-utils | |
parent | 6dd079a6c1450a8e0407e3160792e9d54ddd2c84 (diff) | |
parent | b8550ca15a961b522c3197afb465b8998a966722 (diff) | |
download | mariadb-git-69a11590bfd372eb345916c0213201920744dafc.tar.gz |
Merge bk-internal.mysql.com:/data0/bk/mysql-5.0
into bk-internal.mysql.com:/data0/bk/mysql-5.0-build
Diffstat (limited to 'cmd-line-utils')
-rw-r--r-- | cmd-line-utils/readline/histfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-line-utils/readline/histfile.c b/cmd-line-utils/readline/histfile.c index a7d6a68098e..f1822b105a4 100644 --- a/cmd-line-utils/readline/histfile.c +++ b/cmd-line-utils/readline/histfile.c @@ -334,7 +334,8 @@ history_truncate_file (fname, lines) file_size = (size_t)finfo.st_size; /* check for overflow on very large files */ - if (file_size != finfo.st_size || file_size + 1 < file_size) + if ((long long) file_size != (long long) finfo.st_size || + file_size + 1 < file_size) { close (file); #if defined (EFBIG) |