[host] use correct argument order for calloc

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-08-16 16:25:59 +10:00
1 parent 104141eec1
commit cdda89cef7
4 files changed
+5 -5

No files matched your search

@@ -133,7 +133,7 @@ bool NvFBCToSysCreate(
return false;
}
*handle = (NvFBCHandle)calloc(sizeof(**handle), 1);
*handle = (NvFBCHandle)calloc(1, sizeof(**handle));
(*handle)->nvfbc = static_cast<NvFBCToSys *>(params.pNvFBC);
if (maxWidth)