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