How to find the size of an array (from a pointer pointing to the first element array)? This is an old C callback mechanism so you can't change that. There are two occurences in "SemaCast.cpp" -- one of which suggests it's sensitive to MS extensions, https://github.com/llvm-mirror/clang/blob/release_50/lib/Sema/SemaCast.cpp#L2112 I don't see how anything bad can happen . you can pass the int value as void pointer like (void *)&n where n is integer, and in the function accept void pointer as parameter like void foo (void *n); and finally inside the function convert void pointer to int like, int num = * (int *)n;. " Tijuana Plastic Surgery Gone Wrong,
Divine Savior Academy Uniform,
Articles C
cast to 'void *' from smaller integer type 'int'
Share