mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-03 23:15:52 +00:00
So lu on linux gcc 7.3 but llu everywhere else?
This commit is contained in:
parent
25d00e2974
commit
f247a3623c
@ -75,7 +75,11 @@ bencode_write_bytestring(llarp_buffer_t* buff, const void* data, size_t sz)
|
||||
bool
|
||||
bencode_write_uint64(llarp_buffer_t* buff, uint64_t i)
|
||||
{
|
||||
#if (__APPLE__ && __MACH__)
|
||||
if(!buff->writef("i%llu", i))
|
||||
#else
|
||||
if(!buff->writef("i%lu", i))
|
||||
#endif
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user