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.