[host] use correct argument order for calloc
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user