Index: trunk/src/ui/base/resource/data_pack.cc |
=================================================================== |
--- trunk/src/ui/base/resource/data_pack.cc (revision 255491) |
+++ trunk/src/ui/base/resource/data_pack.cc (working copy) |
@@ -190,8 +190,7 @@ |
const DataPackEntry* next_entry = target + 1; |
size_t length = next_entry->file_offset - target->file_offset; |
- data->set(reinterpret_cast<const char*>(mmap_->data() + target->file_offset), |
- length); |
+ data->set(mmap_->data() + target->file_offset, length); |
return true; |
} |