mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2025-04-25 10:26:03 +00:00
Json now uses Int64 for integers.
This should fix all timestamp errors on 32-bit systems in Cytoplasm and Telodendria.
This commit is contained in:
parent
2c715c6e72
commit
a1da7c7b4a
4 changed files with 52 additions and 31 deletions
|
@ -443,6 +443,7 @@ Main(Array * args)
|
|||
|
||||
StreamPrintf(headerFile, "#include <Array.h>\n");
|
||||
StreamPrintf(headerFile, "#include <HashMap.h>\n");
|
||||
StreamPrintf(headerFile, "#include <Int64.h>\n");
|
||||
|
||||
StreamPutc(headerFile, '\n');
|
||||
|
||||
|
@ -491,7 +492,7 @@ Main(Array * args)
|
|||
}
|
||||
else if (StrEquals(fieldType, "integer"))
|
||||
{
|
||||
cType = "long";
|
||||
cType = "Int64";
|
||||
}
|
||||
else if (StrEquals(fieldType, "boolean"))
|
||||
{
|
||||
|
@ -664,7 +665,7 @@ Main(Array * args)
|
|||
|
||||
if (StrEquals(fieldType, "integer"))
|
||||
{
|
||||
cType = "long";
|
||||
cType = "Int64";
|
||||
}
|
||||
else if (StrEquals(fieldType, "float"))
|
||||
{
|
||||
|
@ -907,7 +908,7 @@ Main(Array * args)
|
|||
|
||||
if (StrEquals(fieldType, "integer"))
|
||||
{
|
||||
cType = "long";
|
||||
cType = "Int64";
|
||||
}
|
||||
else if (StrEquals(fieldType, "float"))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue