fixed compile error on newer C++11 compilers (g++48, clang33) that dont accept a cast to (char)NULL
Merge pull request #402 from alice23/master

fixed compile error on newer C++11 compilers (g++48, clang33) that don't accept a cast to (char)NULL