mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Fix serializer MSVC C4244
This commit is contained in:
parent
bffe9203eb
commit
5bef84cabf
@ -43,14 +43,14 @@ void Reflect(Writer& visitor, unsigned& value) {
|
||||
}
|
||||
|
||||
void Reflect(Reader& visitor, long& value) {
|
||||
value = visitor.GetInt64();
|
||||
value = long(visitor.GetInt64());
|
||||
}
|
||||
void Reflect(Writer& visitor, long& value) {
|
||||
visitor.Int64(value);
|
||||
}
|
||||
|
||||
void Reflect(Reader& visitor, unsigned long& value) {
|
||||
value = visitor.GetUint64();
|
||||
value = (unsigned long)visitor.GetUint64();
|
||||
}
|
||||
void Reflect(Writer& visitor, unsigned long& value) {
|
||||
visitor.Uint64(value);
|
||||
|
Loading…
Reference in New Issue
Block a user