Read about our upcoming Code of Conduct on this issue

Commit 90857941 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

qemu-frsp: fix compiling for 70D

branch : qemu
parent 241f75fefab8
0e4e3f1cd970418f28104865d8451a81 frsp.ppm
......@@ -273,3 +273,10 @@ int raw2iso(int raw_iso)
int iso = (int) roundf(100.0f * powf(2.0f, (raw_iso - 72.0f)/8.0f));
return iso;
const char * format_memory_size(uint64_t size)
static char buf[32];
snprintf(buf, sizeof(buf), "%d", size);
return buf;
Markdown is supported
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