Merge pull request #1 from da2ce7/master

add static cast to wake.cpp
add pragma ignores