Commit 8cdaf314 authored by Chen Bill's avatar Chen Bill

use int32_t in ReadInt32

parent e147da02
......@@ -214,8 +214,8 @@ bool Replay::ReadData(void* data, size_t length) {
data_position += length;
return true;
}
int Replay::ReadInt32() {
return ReadValue<int32_t>();
int32_t Replay::ReadInt32() {
return Read<int32_t>();
}
void Replay::Rewind() {
data_position = 0;
......
......@@ -59,7 +59,7 @@ public:
ReadData(&ret, sizeof(T));
return ret;
}
int ReadInt32();
int32_t ReadInt32();
void Rewind();
FILE* fp{ nullptr };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment