3
0
Fork 0
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:
Nikolaj Bjorner 2018-04-14 08:44:20 -07:00
parent d939c05e72
commit 098bce0f46

View file

@ -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;