Please GCC by specifying proper cast.
Fix build with gcc.