mirror of
https://github.com/tristanpenman/valijson.git
synced 2024-12-13 10:32:58 +01:00
Fix compilation warning on 32-bit systems.
On 32-bit systems size_t is a 32-bit type which causes the following warning: warning: large integer implicitly truncated to unsigned type [-Woverflow] There's no reason have size_t storage variable for uint64_t accessors.
This commit is contained in:
parent
4da8234737
commit
c9fe25907f
@ -438,7 +438,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
size_t maxItems;
|
||||
uint64_t maxItems;
|
||||
};
|
||||
|
||||
/**
|
||||
@ -492,7 +492,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
size_t maxProperties;
|
||||
uint64_t maxProperties;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user