commit | 0b138b26af64ae976c4792f466c27a7293772b8b | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Wed Jul 27 15:19:17 2011 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Wed Jul 27 17:24:49 2011 -0700 |
tree | 38f729243e39bff6ac6379f921230f5e8b7b5810 | |
parent | 07d579faa0abc835e8db970ff48b6f79cdc67f8f [diff] [blame] |
Flesh out AllocString Change-Id: Ie8c1170e71374942eafdcb40775ca2df3cf7bbc7
diff --git a/src/dex_file.h b/src/dex_file.h index 63fefae..c8f8afa 100644 --- a/src/dex_file.h +++ b/src/dex_file.h
@@ -377,7 +377,7 @@ const byte* ptr = base_ + string_id.string_data_off_; // Skip the uleb128 length. while (*(ptr++) > 0x7f) /* empty */ ; - return (const char*) ptr; + return reinterpret_cast<const char*>(ptr); } // return the UTF-8 encoded string with the specified string_id index