mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
fix build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d939c05e72
commit
098bce0f46
1 changed files with 2 additions and 2 deletions
|
@ -622,10 +622,10 @@ namespace datalog {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool string_to_uint64(const char * s, uint64_t & res) {
|
bool string_to_uint64(const char * s, uint64_t & res) {
|
||||||
#if 1
|
#if _WINDOWS
|
||||||
int converted = sscanf_s(s, "%I64u", &res);
|
int converted = sscanf_s(s, "%I64u", &res);
|
||||||
#else
|
#else
|
||||||
int converted = sscanf(s, "%llu", &res);
|
int converted = sscanf(s, "%I64u", &res);
|
||||||
#endif
|
#endif
|
||||||
if(converted==0) {
|
if(converted==0) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue