diff options
author | lloyd <[email protected]> | 2007-07-23 16:03:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-07-23 16:03:31 +0000 |
commit | 791ad1190ba1ff46d8d4495753a480d9e45d8dd7 (patch) | |
tree | de449a7b7d5a59a5f5125d928eceb29937664373 /modules/es_ftw | |
parent | e2f1f734277146d817ab284dea21e4013cb5b937 (diff) |
Avoid some C-style casts in the modules
Diffstat (limited to 'modules/es_ftw')
-rw-r--r-- | modules/es_ftw/es_ftw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/es_ftw/es_ftw.cpp b/modules/es_ftw/es_ftw.cpp index 3253ca27d..412a95f57 100644 --- a/modules/es_ftw/es_ftw.cpp +++ b/modules/es_ftw/es_ftw.cpp @@ -97,7 +97,7 @@ void FTW_EntropySource::gather_from_file(const std::string& filename) return; SecureVector<byte> read_buf(1024); - ssize_t got = ::read(fd, (byte*)read_buf.begin(), read_buf.size()); + ssize_t got = ::read(fd, read_buf.begin(), read_buf.size()); close(fd); if(got > 0) |