From cdcf2ae9f93538f129c69952f565c4243b78059a Mon Sep 17 00:00:00 2001 From: Davi Arnaut Date: Wed, 20 Jan 2010 22:22:20 -0200 Subject: Apply patch on behalf of Magnus: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3325 Magnus BlÄudd 2010-01-05 Bug #49860 new compiler warning ha_archive - fix compiler warning by casting to ulong --- storage/archive/ha_archive.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage') diff --git a/storage/archive/ha_archive.cc b/storage/archive/ha_archive.cc index 4648ca798da..42ff9daa77e 100644 --- a/storage/archive/ha_archive.cc +++ b/storage/archive/ha_archive.cc @@ -1490,7 +1490,7 @@ int ha_archive::info(uint flag) stats.create_time= (ulong) file_stat.st_ctime; stats.update_time= (ulong) file_stat.st_mtime; stats.mean_rec_length= stats.records ? - stats.data_file_length / stats.records : table->s->reclength; + ulong(stats.data_file_length / stats.records) : table->s->reclength; stats.max_data_file_length= MAX_FILE_SIZE; } stats.delete_length= 0; -- cgit v1.2.1