From 8e51d3a491dd7c4ac29ff8ac9c7abd7492d4056e Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Mon, 18 Feb 2019 09:39:18 +0000 Subject: [PATCH] fix linux gcc 7.3 error (warning) --- llarp/util/bencode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llarp/util/bencode.cpp b/llarp/util/bencode.cpp index 16e52e00c..1200834db 100644 --- a/llarp/util/bencode.cpp +++ b/llarp/util/bencode.cpp @@ -75,7 +75,7 @@ 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(!buff->writef("i%llu", i)) + if(!buff->writef("i%lu", i)) { return false; }