1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-05-02 07:07:32 +02:00

fix compiler warnings on x86_64 architecture

This commit is contained in:
Rolf Fokkens 2015-02-22 22:43:57 +01:00
parent 3fe8990495
commit 786fbe7934

View File

@ -466,9 +466,9 @@ public:
{
char buf[33];
if (hi)
sprintf(buf, "%"PRIX64"%08"PRIX64, (unsigned long long)hi,(unsigned long long)lo);
sprintf(buf, "%"PRIX64"%08"PRIX64, (uint64_t)hi,(uint64_t)lo);
else
sprintf(buf,"%"PRIX64,(unsigned long long)lo);
sprintf(buf,"%"PRIX64,(uint64_t)lo);
return buf;
}