📜  错误:参数 1 范围 [18446744071562067968, 18446744073709551615] 超过最大对象大小 9223372036854775807 [-werror=alloc-size-larger-than=] - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:43.507000             🧑  作者: Mango

代码示例1
In case you are encountering a calloc error regarding its range, usually cast the given size to anything unsigned, and it should do the trick.