repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
function_ptr: handle scope of function pointers better
[smatch.git]
/
validation
/
backend
/
ptrcast.c
blob
46f8add82b0855446acd469bb0158424cbf3ddaf
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
*/