--- nono/vm/gvram.cpp 2026/04/29 17:05:51 1.1.1.11 +++ nono/vm/gvram.cpp 2026/04/29 17:06:01 1.1.1.12 @@ -36,10 +36,10 @@ GVRAMDevice::~GVRAMDevice() bool GVRAMDevice::Init() { - uint devlen = 0x20'0000; // XXX とりあえず + size_t devlen = 0x20'0000; // XXX とりあえず mem.reset(new(std::nothrow) uint8[devlen]); if ((bool)mem == false) { - warnx("Cannot allocate %u bytes at %s", devlen, __method__); + warnx("Could not allocate %zu bytes at %s", devlen, __method__); return false; }