xref: /illumos-gate/usr/src/tools/smatch/src/validation/backend/ptrcast.c (revision 1f5207b7604fb44407eb4342aff613f7c4508508)

ptrcast(unsigned long * x)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