xref: /illumos-gate/usr/src/tools/smatch/src/validation/backend/ptrcast.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 static char *ptrcast(unsigned long *x)
2 {
3 	return (unsigned char *) x;
4 }
5 
6 /*
7  * check-name: Pointer cast code generation
8  * check-command: sparsec -c $file -o tmp.o
9  */
10