xref: /illumos-gate/usr/src/tools/smatch/src/validation/backend/ptrcast.c (revision a02120c4550735e4c33259ff2671a5ef9d06c5cc)
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