1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 03:21:16 +02:00

Fix 32-bit build

This commit is contained in:
Eelco Dolstra 2016-08-30 17:38:09 +02:00
parent 6631a6e1a1
commit d74c8a3f4e
3 changed files with 8 additions and 5 deletions

View file

@ -29,6 +29,11 @@ void toJSON(std::ostream & str, const char * s)
if (!s) str << "null"; else toJSON(str, s, s + strlen(s));
}
void toJSON(std::ostream & str, unsigned long long n)
{
str << n;
}
void toJSON(std::ostream & str, unsigned long n)
{
str << n;