diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-01-20 22:22:20 -0200 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-01-20 22:22:20 -0200 |
commit | 9eae1881b384592e8fc13a78000071a08fe7370f (patch) | |
tree | 8a2178035a7312d5ae2a3f3d87c943cb15122da8 /storage | |
parent | 45d2799a15a2bdde386b113cd6fcab915d4984d2 (diff) | |
download | mariadb-git-9eae1881b384592e8fc13a78000071a08fe7370f.tar.gz |
Apply patch on behalf of Magnus:
3325 Magnus BlÄudd 2010-01-05
Bug #49860 new compiler warning ha_archive
- fix compiler warning by casting to ulong
Diffstat (limited to 'storage')
-rw-r--r-- | storage/archive/ha_archive.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |