Print bad expression on wrong pointer cast