We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c02c9d8 commit 97d27aaCopy full SHA for 97d27aa
Utils/kernelAPI.cpp
@@ -67,7 +67,7 @@ void
67
KernelAPI::DumpKernelMetrics(DumpFilename filename)
68
{
69
int rc;
70
- struct nvme_file dumpMe = { filename.length(), filename.c_str() };
+ struct nvme_file dumpMe = { (short unsigned int)filename.length(), filename.c_str() };
71
72
LOG_NRM("Dump dnvme metrics to filename: %s", filename.c_str());
73
if ((rc = ioctl(gDutFd, NVME_IOCTL_DUMP_METRICS, &dumpMe)) < 0)
0 commit comments