We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a4e787 commit eb308e1Copy full SHA for eb308e1
src/detection/memory/memory_bsd.c
@@ -3,7 +3,7 @@
3
4
const char* ffDetectMemory(FFMemoryResult* ram)
5
{
6
- uint64_t length = sizeof(ram->bytesTotal);
+ size_t length = sizeof(ram->bytesTotal);
7
if (sysctl((int[]){ CTL_HW, HW_PHYSMEM }, 2, &ram->bytesTotal, &length, NULL, 0))
8
return "Failed to read hw.physmem";
9
0 commit comments