Commit 7faf7989 authored by daniele's avatar daniele
Browse files

Fixed a uint64 printout

parent 951f948c
......@@ -159,7 +159,7 @@ std::string SensorId::serialize() const
std::string SensorId::toString() const
{
char buf[33];
snprintf(buf, sizeof(buf), "%016lx%016lx", data.raw[0], data.raw[1]);
snprintf(buf, sizeof(buf), "%" PRIu64 "%" PRIu64, data.raw[0], data.raw[1]);
return std::string(buf);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment