Skip to content

Commit

Permalink
Update buffer size type
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyesiqiu committed Oct 4, 2023
1 parent 056831b commit c659691
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shell/src/main/cpp/dex/MultiDexCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dpt::data::MultiDexCode* dpt::data::MultiDexCode::getInst(){
return m_inst;
}

void dpt::data::MultiDexCode::init(uint8_t* buffer, int size){
void dpt::data::MultiDexCode::init(uint8_t* buffer, size_t size){
this->m_buffer = buffer;
this->m_size = size;
}
Expand Down
2 changes: 1 addition & 1 deletion shell/src/main/cpp/dex/MultiDexCode.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace dpt {
public:
static MultiDexCode *getInst();

void init(uint8_t *buffer, int size);
void init(uint8_t *buffer, size_t size);

uint8_t readUInt8(uint32_t offset);

Expand Down

0 comments on commit c659691

Please sign in to comment.