Fixed warning messages during build process,

-C4101: Because of unused variable (zval).
-C4090: Missing 'const' keyword.
-C4244: data loss, happened due to conversion of data type.
I think this might be required for PHP 5.2 or maybe 5.3, and so might need an #ifdef around it. I'll check it out.