Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

error: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-werror=alloc-size-larger-than=]

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.
 
PREVIOUS NEXT
Tagged: #argument #range #exceeds #maximum #object #size
ADD COMMENT
Topic
Name
5+2 =