fix 'volatile' qualifiers error

I get the "volatile qualifiers" error when compiling in Windows VS 2010.

![Error](http://imgur.com/hv6UsgG.png)